Uses of Class
com.google.adk.tools.ToolContext.Builder
Packages that use ToolContext.Builder
-
Uses of ToolContext.Builder in com.google.adk.tools
Methods in com.google.adk.tools that return ToolContext.BuilderModifier and TypeMethodDescriptionToolContext.Builder.actions(EventActions actions) static ToolContext.BuilderToolContext.builder(InvocationContext invocationContext) ToolContext.Builder.functionCallId(String functionCallId) ToolContext.Builder.stateSchema(@Nullable com.google.genai.types.Schema stateSchema) Sets the state schema that the tool'sContext.state()checks writes against, as a workflow tool node does: writes store converted values and throwStateSchemaExceptionon a mismatch or undeclared key.ToolContext.toBuilder()ToolContext.Builder.toolConfirmation(ToolConfirmation toolConfirmation)