Class BetaServerToolUseBlockParam.Caller
-
- All Implemented Interfaces:
public final class BetaServerToolUseBlockParam.CallerTool invocation directly from the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBetaServerToolUseBlockParam.Caller.VisitorAn interface that defines how to map each variant of Caller to a value of type T.
-
Method Summary
-
-
Method Detail
-
direct
final Optional<BetaDirectCaller> direct()
Tool invocation directly from the model.
-
codeExecution20250825
final Optional<BetaServerToolCaller> codeExecution20250825()
Tool invocation generated by a server-side tool.
-
codeExecution20260120
final Optional<BetaServerToolCaller20260120> codeExecution20260120()
-
isCodeExecution20250825
final Boolean isCodeExecution20250825()
-
isCodeExecution20260120
final Boolean isCodeExecution20260120()
-
asDirect
final BetaDirectCaller asDirect()
Tool invocation directly from the model.
-
asCodeExecution20250825
final BetaServerToolCaller asCodeExecution20250825()
Tool invocation generated by a server-side tool.
-
asCodeExecution20260120
final BetaServerToolCaller20260120 asCodeExecution20260120()
-
accept
final <T extends Any> T accept(BetaServerToolUseBlockParam.Caller.Visitor<T> visitor)
-
validate
final BetaServerToolUseBlockParam.Caller validate()
-
ofDirect
final static BetaServerToolUseBlockParam.Caller ofDirect(BetaDirectCaller direct)
Tool invocation directly from the model.
-
ofCodeExecution20250825
final static BetaServerToolUseBlockParam.Caller ofCodeExecution20250825(BetaServerToolCaller codeExecution20250825)
Tool invocation generated by a server-side tool.
-
ofCodeExecution20260120
final static BetaServerToolUseBlockParam.Caller ofCodeExecution20260120(BetaServerToolCaller20260120 codeExecution20260120)
-
-
-
-