cache_propose_invalidate
Propose a cache invalidation for review with filter and reasoning. Receive a warning if the estimated affected entries exceed 10,000.
Instructions
Propose a cache invalidation for review. Filter shape depends on cache type: semantic_cache requires filter_kind=valkey_search + filter_expression; agent_cache requires filter_kind in (tool|key_prefix|session) + filter_value. Warns when estimated_affected exceeds 10000.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasoning | Yes | Why the invalidation is being proposed (≥20 chars) | |
| cache_name | Yes | Name of the cache to invalidate | |
| instanceId | No | Connection ID; defaults to the active instance | |
| filter_kind | Yes | Discriminator: valkey_search for semantic_cache; tool|key_prefix|session for agent_cache | |
| filter_value | No | Required when filter_kind in (tool|key_prefix|session); the matching value | |
| filter_expression | No | Required when filter_kind=valkey_search; FT.SEARCH filter | |
| estimated_affected | Yes | Caller-estimated number of affected entries |