Readonly[A unique symbol to identify ADK base tool class.
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.
This tool is executed server-side by the Vertex AI RAG Engine. Local execution is not required.
A tool that retrieves relevant content from a Vertex AI RAG corpus to ground model responses.
This tool operates server-side; it modifies the LLM request config to enable RAG retrieval via the
retrieval.vertexRagStorefield and does not perform local code execution.Note: The Vertex AI RAG Engine only supports one corpus per
ragResourcesarray. Create oneVertexRagRetrievalToolinstance per corpus.Example