query_agent_knowledge_base_rag_route
Retrieve relevant chunks from an ElevenLabs agent's knowledge base RAG index by agent ID and query; optionally use branch or neutral defaults for auditing.
Instructions
Query Agent Knowledge Base Rag
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query to run against the agent's knowledge base RAG index. | |
| agent_id | Yes | The id of an agent. This is returned on agent creation. | |
| branch_id | No | The ID of the branch to use | |
| use_agent_defaults | No | When true (the default), retrieval uses the agent's own RAG settings, reproducing exactly what the agent would retrieve. Set to false to retrieve with neutral default RAG settings instead (the agent's embedding model is always kept, since it determines which vector index exists). Useful for auditing | |
| max_documents_length | No | ||
| max_retrieved_rag_chunks_count | No |