cache.invalidate
Invalidate cached entries by matching their keys against a substring or regular expression pattern.
Instructions
Invalidate cache entries whose URL matches a substring or regex.
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": "cache.invalidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contains | No | Substring to match against cached keys | |
| regex | No | JavaScript regex string to match against cached keys |