gp_index
Re-index the repository after batch edits to ensure subsequent queries reflect changes. Call after any non-trivial edit session.
Instructions
Re-index the repo after batch edits so subsequent gp_* calls see your changes. Call after any non-trivial edit session. Do NOT call before every query — indexing is slow; only needed when source files changed.
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": "gp_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repo root with a GraphPilot index. Optional: when omitted, resolves via GRAPHPILOT_ROOT, MCP workspace roots, parent walk, or a single ~/.graphpilot index. |