ingest_file
Index or re-index a single local file by absolute path, replacing any previously stored chunks with freshly parsed content for hybrid search.
Instructions
Ingest or re-ingest one file, replacing any content already indexed for it.
filePath must be an absolute path inside a configured document root.
Re-ingesting an already-indexed file discards its old chunks and
replaces them with freshly parsed ones. With a classify.toml,
labelProblem says which labels the document was stored without,
and why; a full sync asks again.
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": {
"filePath": "<filePath>"
},
"name": "ingest_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||