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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | No | ||
project | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "File Path"
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
}
},
"title": "clear_cacheArguments",
"type": "object"
}