Uses of Class
com.google.adk.agents.ReadonlyContext
Packages that use ReadonlyContext
Package
Description
-
Uses of ReadonlyContext in com.google.adk.agents
Subclasses of ReadonlyContext in com.google.adk.agentsModifier and TypeClassDescriptionclassThe context of various callbacks for an agent invocation.Methods in com.google.adk.agents that return types with arguments of type ReadonlyContextModifier and TypeMethodDescriptionFunction<ReadonlyContext, io.reactivex.rxjava3.core.Single<String>> Instruction.Provider.getInstruction()Returns the value of thegetInstructionrecord component.Methods in com.google.adk.agents with parameters of type ReadonlyContextModifier and TypeMethodDescriptionLlmAgent.canonicalGlobalInstruction(ReadonlyContext context) Constructs the text global instruction for this agent based on theLlmAgent.globalInstructionfield.LlmAgent.canonicalInstruction(ReadonlyContext context) Constructs the text instruction for this agent based on theLlmAgent.instructionfield.io.reactivex.rxjava3.core.Flowable<BaseTool> LlmAgent.canonicalTools(ReadonlyContext context) Constructs the list of tools for this agent based on theLlmAgent.tools()field.Method parameters in com.google.adk.agents with type arguments of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> LlmAgent.canonicalTools(Optional<ReadonlyContext> context) Deprecated.Constructor parameters in com.google.adk.agents with type arguments of type ReadonlyContextModifierConstructorDescriptionProvider(Function<ReadonlyContext, io.reactivex.rxjava3.core.Single<String>> getInstruction) Creates an instance of aProviderrecord class. -
Uses of ReadonlyContext in com.google.adk.tools
Subclasses of ReadonlyContext in com.google.adk.toolsModifier and TypeClassDescriptionclassToolContext object provides a structured context for executing tools or functions.Methods in com.google.adk.tools with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> BaseToolset.getTools(ReadonlyContext readonlyContext) Return all tools in the toolset based on the provided context.default booleanBaseToolset.isToolSelected(BaseTool tool, Object toolFilter, ReadonlyContext readonlyContext) Checks if a tool should be selected based on a filter.default booleanToolPredicate.test(BaseTool tool, ReadonlyContext readonlyContext) Decides if the given tool is selected.Method parameters in com.google.adk.tools with type arguments of type ReadonlyContextModifier and TypeMethodDescriptionbooleanNamedToolPredicate.test(BaseTool tool, Optional<ReadonlyContext> readonlyContext) booleanToolPredicate.test(BaseTool tool, Optional<ReadonlyContext> readonlyContext) Deprecated.UseToolPredicate.test(BaseTool, ReadonlyContext)instead. -
Uses of ReadonlyContext in com.google.adk.tools.applicationintegrationtoolset
Methods in com.google.adk.tools.applicationintegrationtoolset with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> ApplicationIntegrationToolset.getTools(@Nullable ReadonlyContext readonlyContext) -
Uses of ReadonlyContext in com.google.adk.tools.computeruse
Methods in com.google.adk.tools.computeruse with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> ComputerUseToolset.getTools(ReadonlyContext readonlyContext) -
Uses of ReadonlyContext in com.google.adk.tools.mcp
Methods in com.google.adk.tools.mcp with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> McpAsyncToolset.getTools(ReadonlyContext readonlyContext) io.reactivex.rxjava3.core.Flowable<BaseTool> McpToolset.getTools(ReadonlyContext readonlyContext)
LlmAgent.canonicalTools(ReadonlyContext)instead.