Rebuild Entry Index
rebuild-entry-indexRebuild the project's entry index from files on disk to fix missing entries caused by index drift.
Instructions
Rebuilds entries/index.json from entry files on disk. Use when list-entries or get-slice miss entries that exist as files (index drift). Does not modify entry bodies.
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": "rebuild-entry-index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID (defaults to normalized workdir) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemCount | Yes | ||
| message | Yes |