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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| cache_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |