AgentContextAwareTool
constructor(argsType: TypeToken, resultType: TypeToken, descriptor: ToolDescriptor, metadata: Map<String, String> = emptyMap())(source)
Type Parameters
TArgs
The type of arguments the tool accepts.
TResult
The type of result the tool returns.
constructor(argsType: TypeToken, resultType: TypeToken, name: String, description: String, jsonSchemaConfig: JsonSchemaConfig = defaultJsonSchemaConfig)(source)
Convenience constructor that generates ToolDescriptor from the provided name, description and argsType.