invalidate_cache
Purge stale cached tabular query results by cache key, source, or all entries, forcing fresh data retrieval. Returns count of invalidated entries.
Instructions
Invalidate cached tabular query results.
Args: cache_key: Invalidate a specific cached result. source: Invalidate all results from this source ("bag" or "catalog"). If neither is provided, invalidates all cached results.
Returns: JSON with the number of entries invalidated.
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": "invalidate_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| cache_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |