ingest_documents
Add local files or raw text to a named collection for search. Documents are automatically chunked, embedded, and indexed for hybrid semantic and keyword retrieval, enabling grounded Q&A over your own content.
Instructions
Ingest documents into a named collection so they can be searched.
Provide paths (files or directories of .txt/.md) and/or texts (raw strings).
Documents are chunked, embedded, and indexed for both semantic and keyword search.
Returns how many chunks were added and the collection's new total.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ingest_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| texts | No | ||
| chunk_size | No | ||
| collection | No | default | |
| chunk_overlap | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||