cache_delete
Delete one or more cache keys from a specific instance to remove stale entries. Returns count of keys actually deleted.
Instructions
Permanently delete one or more keys from a running cache instance (uses Redis DEL). This operation is destructive and irreversible — deleted keys cannot be recovered. Deleting a non-existent key is safe and returns 0 for that key (no error). Returns the count of keys that were actually deleted (existing keys only). Use this to explicitly remove stale entries; prefer cache_set with a short TTL for auto-expiring data. Do NOT use this to clear an entire instance — use the dashboard or delete_instance for that.
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": {
"instance_id": "<instance_id>",
"keys": "<keys>"
},
"name": "cache_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | One or more cache keys to delete. Accepts exact keys only (no glob patterns — use cache_keys to list first). | |
| instance_id | Yes | UUID of the cache instance to delete keys from (get from list_instances) |