Knowledge base: Ingest document
kb_ingest_documentIndex an EXISTING personal document (uploaded via the cabinet) into a KB collection so it becomes searchable. Provide the 'collection_id' and the 'document_id'. Uses the document's extracted text. Returns { doc_id, chunks, storage_used }; refuses over the plan 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>",
"document_id": "<document_id>"
},
"name": "kb_ingest_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| collection_id | Yes |