document_ingest
Index a .txt, .md, or .pdf file into a reference bank for background documents, keeping them separate from conversational memory so they remain retrievable by cosine similarity.
Instructions
Index a file into the reference bank — a separate store for background documents (papers, manuals, codebases) retrieved by pure cosine similarity, kept apart from conversational memory.
Returns: {source, chunks_stored, chunks_total}.
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": {
"path": "<path>"
},
"name": "document_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a .txt / .md / .pdf file, resolved on the SERVER's filesystem — with the Docker daemon, a path visible inside the container (e.g. a mounted volume), not a host path. | |
| source | No | Source tag for the chunks; defaults to the filename. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||