refresh_project
Clear the cached AST for a project root to force a full re-parse after switching branches or pulling changes, ensuring analysis reflects the current codebase.
Instructions
Clears the cached AST for a project root, forcing a full re-parse on the next call. Use after switching branches, running git pull, or adding/removing files.
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": {
"project_root": "<project_root>"
},
"name": "refresh_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) |