get_index_status
Check if a repository's code index is up-to-date with its HEAD commit and view index size statistics to ensure accurate code review.
Instructions
Report whether a repo has been indexed, whether the index is stale relative to its current HEAD commit, and basic index size stats.
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": {
"repo_path": "<repo_path>"
},
"name": "get_index_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale | Yes | ||
| indexed | Yes | ||
| indexed_at | Yes | ||
| total_files | Yes | ||
| total_chunks | Yes | ||
| embedding_model | Yes | ||
| current_head_sha | Yes | ||
| last_indexed_commit_sha | Yes |