cache_invalidate
Remove stale cache entries to free memory and ensure fresh data is served after file changes.
Instructions
Remove a stale cache entry (e.g. after file changes).
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": {
"key": "<key>"
},
"name": "cache_invalidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Cache key to remove. | |
| namespace | No | Must match the namespace used in cache_store. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||