getIndexStatus
Check if a repository has a published code index and determine its freshness. Optionally provide a local repo path to compare the indexed commit against the current HEAD, revealing staleness.
Instructions
Whether repo has a published index, and its freshness. Pass
repo_path (the repo's local git working directory) to compare the
published commit against git rev-parse HEAD; omitted, freshness is
reported without a staleness comparison.
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": "<repo>"
},
"name": "getIndexStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| repo_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||