Uses of Class
com.google.adk.tools.ToolContext
Packages that use ToolContext
Package
Description
-
Uses of ToolContext in com.google.adk.agents
Methods in com.google.adk.agents with parameters of type ToolContextModifier and TypeMethodDescriptionCallbacks.AfterToolCallback.call
(InvocationContext invocationContext, BaseTool baseTool, Map<String, Object> input, ToolContext toolContext, Object response) Async callback after tool runs.Callbacks.AfterToolCallbackSync.call
(InvocationContext invocationContext, BaseTool baseTool, Map<String, Object> input, ToolContext toolContext, Object response) Callbacks.BeforeToolCallback.call
(InvocationContext invocationContext, BaseTool baseTool, Map<String, Object> input, ToolContext toolContext) Async callback before tool runs.Callbacks.BeforeToolCallbackSync.call
(InvocationContext invocationContext, BaseTool baseTool, Map<String, Object> input, ToolContext toolContext) -
Uses of ToolContext in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows with parameters of type ToolContextModifier and TypeMethodDescriptionstatic void
AgentTransfer.transferToAgent
(String agentName, ToolContext toolContext) Marks the target agent for transfer using the tool context. -
Uses of ToolContext in com.google.adk.tools
Methods in com.google.adk.tools that return ToolContextMethods in com.google.adk.tools with parameters of type ToolContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completable
LoadArtifactsTool.appendArtifactsToLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) static void
ExitLoopTool.exitLoop
(ToolContext toolContext) io.reactivex.rxjava3.core.Completable
BaseTool.processLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) Processes the outgoingLlmRequest.Builder
.io.reactivex.rxjava3.core.Completable
BuiltInCodeExecutionTool.processLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) io.reactivex.rxjava3.core.Completable
GoogleSearchTool.processLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) io.reactivex.rxjava3.core.Completable
LoadArtifactsTool.processLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) AgentTool.runAsync
(Map<String, Object> args, ToolContext toolContext) BaseTool.runAsync
(Map<String, Object> args, ToolContext toolContext) Calls a tool.FunctionTool.runAsync
(Map<String, Object> args, ToolContext toolContext) LoadArtifactsTool.runAsync
(Map<String, Object> args, ToolContext toolContext) -
Uses of ToolContext in com.google.adk.tools.applicationintegrationtoolset
Methods in com.google.adk.tools.applicationintegrationtoolset with parameters of type ToolContext -
Uses of ToolContext in com.google.adk.tools.mcp
Methods in com.google.adk.tools.mcp with parameters of type ToolContext -
Uses of ToolContext in com.google.adk.tools.retrieval
Methods in com.google.adk.tools.retrieval with parameters of type ToolContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completable
VertexAiRagRetrieval.processLlmRequest
(LlmRequest.Builder llmRequestBuilder, ToolContext toolContext) VertexAiRagRetrieval.runAsync
(Map<String, Object> args, ToolContext toolContext)