add_knowledge_from_text
Create a searchable knowledge base from plain text, automatically chunked and indexed for RAG retrieval. Ideal for FAQs, product specs, and policies.
Instructions
Create a knowledge base from plain text content.
The text is immediately chunked and indexed for RAG retrieval. After creating, use attach_knowledge_to_agent to connect it to an agent — the agent will then search this content during calls.
Best for: FAQs, product specs, policies, scripts, pricing tables, troubleshooting guides, or any structured text content.
Tips for good knowledge base content:
Use clear headings and Q&A format for best retrieval
Keep each topic self-contained (the system retrieves chunks)
Include the exact phrases callers would use, not just jargon
Max 500KB of text per knowledge base
Args: name: Display name (e.g. "Returns Policy FAQ", "Product Catalog") text: The actual content to index. Plain text or markdown. description: What this knowledge covers (helps with organization)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| text | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||