Ingest Document Into Knowledge Base
knowledge_ingestIngest a document into a knowledge base: it is chunked, embedded and stored for you (managed RAG).
Args: namespace: The knowledge-base namespace. text: The document text. title: Optional title.
Returns: dict with keys: doc_id (str), n_chunks (int).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"text": "<text>"
},
"name": "knowledge_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The document text to ingest | |
| title | No | Optional title for the document | |
| namespace | Yes | The knowledge-base namespace to ingest into (alphanumeric/hyphen) |