clean_caches
Cleans specified cache targets by ID from an earlier scan, starting with a dry run for safety; confirm before actual deletion and explicitly allow caution targets.
Instructions
Clean cache targets by ID (from scan_caches).
Defaults to dry_run=True for safety; pass dry_run=False after user confirmation.
Targets marked 'caution' require allow_caution=True.
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": {
"target_ids": "<target_ids>"
},
"name": "clean_caches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| target_ids | Yes | ||
| allow_caution | No | ||
| move_to_trash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||