clear_cache
Clears the parse tree cache for a specific project or file, ensuring accurate code analysis by the MCP server-tree-sitter.
Instructions
Clear the parse tree cache.
Args:
project: Optional project to clear cache for
file_path: Optional specific file to clear cache for
Returns:
Status message
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": "clear_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| project | No |