Knowledge base: Ingest text
kb_ingest_textIngest a block of text (up to ~200KB) into a KB collection: it is chunked, embedded with a self-hosted multilingual model (uk/en/de/ru) and stored for retrieval. Provide the 'collection_id', a 'title' and the 'text'; optional 'tags'. Returns { doc_id, chunks, storage_used }. Refuses with a clear message + current usage if over the plan's KB storage/chunk limit. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"collection_id": "<collection_id>",
"title": "<title>",
"text": "<text>"
},
"name": "kb_ingest_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| text | Yes | ||
| title | Yes | ||
| collection_id | Yes |