clear_cache
Purges old cached repositories from the .docsgrep workspace, removing those older than a specified max age (default 7 days).
Instructions
Purges old cached repositories from the .docsgrep workspace. Removes repos older than the specified max age (default 7 days).
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": {
"localProjectPath": "<localProjectPath>"
},
"name": "clear_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localProjectPath | Yes | The absolute path to the local project containing .docsgrep workspace. | |
| maxAgeDays | No | Maximum age in days for cached repos (default: 7). |