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) Convenience overload of canonicalTools that accepts a non-optional ReadonlyContext.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) Constructs the list of tools for this agent based on theLlmAgent.tools()field.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.Method parameters in com.google.adk.tools with type arguments of type ReadonlyContextModifier and TypeMethodDescriptionbooleanToolPredicate.test(BaseTool tool, Optional<ReadonlyContext> readonlyContext) Decides if the given tool is selected. -
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.mcp
Methods in com.google.adk.tools.mcp with parameters of type ReadonlyContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<BaseTool> McpToolset.getTools(ReadonlyContext readonlyContext)