Files
google__adk-docs/docs/tools/google-cloud/vertex-ai-rag-engine.md
Joe Fernandez 90ef1a65dc Reorganize Built-In tools, Cloud, and Gemini tools pages (#1085)
* Reorg third-party tools pages (#1084)

* respond to review comments

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2025-12-19 09:59:23 -08:00

1.1 KiB

Vertex AI RAG Engine tool for ADK

Supported in ADKPython v0.1.0Java v0.2.0

The vertex_ai_rag_retrieval tool allows the agent to perform private data retrieval using Vertex AI RAG Engine.

When you use grounding with Vertex AI RAG Engine, you need to prepare a RAG corpus before hand. Please refer to the RAG ADK agent sample or Vertex AI RAG Engine page for setting it up.

!!! warning "Warning: Single tool per agent limitation"

This tool can only be used ***by itself*** within an agent instance.
For more information about this limitation and workarounds, see
[Limitations for ADK tools](/adk-docs/tools/limitations/).

=== "Python"

```py
--8<-- "examples/python/snippets/tools/built-in-tools/vertexai_rag_engine.py"
```