cleanup_expired_cache
Removes expired cache entries to free storage space and can be triggered manually when automatic cleanup is not enough.
Instructions
Remove expired entries from cache.
Story 2.2: Cleans up expired cache entries to free storage space. This is done automatically but can be triggered manually.
Returns: dict[str, Any]: Dictionary containing cleanup results with keys: - success: Boolean indicating if operation succeeded - count: Number of expired entries removed
Example:
json { "success": true, "count": 8 }
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": "cleanup_expired_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||