reindex_file
Reindex a single changed file in a repository to update its symbols and return the new symbol count without reindexing the whole project.
Instructions
Reindexes a single file. Faster than index_project when only one file changed. Returns updated symbol count.
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": {
"file_path": "<file_path>",
"repo": "<repo>"
},
"name": "reindex_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (as shown in list_repos) | |
| file_path | Yes | Relative file path within the repository (e.g., 'src/main.py') |