index_update
Incrementally indexes changed files and embeds new chunks, reusing existing chunks by content hash. Call after repository edits when the search index is stale.
Instructions
Indexes files that changed since the last run and embeds the new chunks. Safe to call after edits; existing chunks are reused by content hash. Use it when the repository has been modified and the index is stale.
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": "index_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| phase | Yes | ||
| ready | Yes | ||
| stale | Yes | ||
| chunks | Yes | ||
| reason | No | ||
| reused | Yes | ||
| running | Yes | ||
| skipped | Yes | ||
| degraded | Yes | ||
| embedded | Yes | ||
| progress | Yes | ||
| astChunks | Yes | ||
| vecVersion | Yes | ||
| lastUpdated | Yes | ||
| nonCodeChunks | Yes | ||
| fallbackChunks | Yes |