Package-level declarations
Types
Link copied to clipboard
abstract class AgentContextAwareTool<TArgs, TResult>(argsType: TypeToken, resultType: TypeToken, descriptor: ToolDescriptor, metadata: Map<String, String> = emptyMap()) : ToolBase<TArgs, TResult>
A tool whose execute receives the live AIAgentContext driving the current call.
Properties
Link copied to clipboard
The AIAgentContext of the agent run that is invoking this tool, or null if the metadata was not produced by the framework (for example when ToolBase.execute is called directly outside an agent run, such as from a unit test).