findagent_add_kb_document
Puts CONTENT INTO a knowledge base. This is not the tool that makes a knowledge base reachable from an agent — that is findagent_attach_kb, which connects an existing base to an agent, department or organization. Add a text document to a knowledge base you own by pasting its content. It ingests asynchronously (parse → structure-aware chunk → embed with the KB’s bound key). Content is de-duplicated by hash: re-adding the exact same text is a no-op (the response deduped flag is true, no second document). Requires the KB to have an embedding key bound, or the document will not ingest. For files (PDF/markdown/docx), use the web Knowledge Base uploader.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The document content to add — paste the full text (plain text, max 1 MB). | |
| kb_id | Yes | The knowledge base id (from findagent_list_kbs). | |
| title | No | A short human-readable title for the document (shown in findagent_list_kb_documents). Optional — defaults to "Untitled document". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | ||
| instructions | No |