ReadonlydescriptionReadonlyisReadonlynameThe Google API LLM variant to use.
Gets the OpenAPI specification of this tool in the form of a FunctionDeclaration.
NOTE
processLlmRequest to add function declaration to LLM request.The FunctionDeclaration of this tool, or undefined if it doesn't need to be added to LlmRequest.config.
Processes the outgoing LLM request for this tool.
Use cases:
The request to process the LLM request.
Runs the tool with the given arguments and context.
NOTE
The request to run the tool.
A promise that resolves to the tool response.
A tool that wraps an agent.
This tool allows an agent to be called as a tool within a larger application. The agent's input schema is used to define the tool's input parameters, and the agent's output is returned as the tool's result.
Param: config:
The configuration of the agent tool.