plan_cleanup
Creates a stored cleanup plan from candidate files, showing each item, total size, and a confirmation code so users can review and approve before deletion.
Instructions
Read-only on target files; writes plan metadata locally. Turn candidates into a stored plan. items: [{"path": "/abs/path", "reason": "why it is safe", "risk": "low|medium|high"}]. Show the user every item, the total size and the confirm_code, and ask them to reply with the code. Never apply without the user typing it.
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": {
"items": "<items>"
},
"name": "plan_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |