cleanup
Delete screenshots from disk. Use optional filename prefix or age filters to remove only specific captures instead of all.
Instructions
Delete screenshots. Default: deletes all. Can filter by age or filename pattern.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Only delete files matching this prefix pattern (e.g. 'screenshot-') | |
| older_than_hours | No | Delete screenshots older than this many hours (0 = all, default: 0) |