doc_ingest
Load large text or files into an external store, issuing a document id for later use. Keeps content on disk so you can page, search, and browse chunks while preserving your context window.
Instructions
Load a large text into the store and split it into addressable chunks. Use this INSTEAD OF reading a big file into your context: the content stays on disk and you page through it with doc_outline, doc_search and doc_window. Accepts inline text, or a file path if the server was started with an ingest root. Returns a document id.
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": "doc_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The content, passed inline | |
| title | No | Label for the document | |
| doc_id | No | Reuse a specific id, replacing any document already stored under it | |
| file_path | No | Read from this file instead. Requires --ingest-root to be configured. |