Undo a change
drive_undoUndo recorded Proton Drive batches by restoring or moving items back with per-ID checks; changed items are skipped, and nothing is overwritten.
Instructions
Undo a recorded batch (drive_cleanup, drive_bulk_trash, drive_trash, drive_bulk_move, drive_move, drive_rename): restores or moves items back, each checked by id; nothing is overwritten, changed items are skipped with a reason. action list (newest 20, no names), plan (default), apply (always asks the user first). Needs the local undo record (PROTON_DRIVE_UNDO=0 turns it off).
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": "drive_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Undo code like K7Q2-M9XD (default: newest batch not yet undone). | |
| action | No | Default plan. |