Files
google__adk-docs/docs/integrations/knowledge-engine.md
2026-07-28 12:32:40 -05:00

1.1 KiB

catalog_title, catalog_description, catalog_icon, catalog_tags
catalog_title catalog_description catalog_icon catalog_tags
Knowledge Engine Perform private data retrieval using Knowledge Engine /integrations/assets/agent-platform.svg
data
google

Knowledge 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 Knowledge Engine.

When you use grounding with Knowledge Engine, you need to prepare a RAG corpus beforehand. Please refer to the Knowledge 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](/tools/limitations/).

=== "Python"

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