Undo a batch move
driftnet_undo_moveReverts a rejected driftnet_move_items batch so every item returns to its original folder; unfiled items go back to automatic sorting. Uses the 24-hour undo id a move returned.
Instructions
Revert one driftnet_move_items batch: every item goes back to the folder it came from, and items that had not been filed by hand are left to automatic sorting again. Use it right after a move the reader rejects; to put items somewhere else instead, call driftnet_move_items again. undo is the exact id a move returned; it is valid for 24 hours and only for the 20 most recent batches. It works once: a second call with the same id fails, so don't retry blindly. Fails if the id is unknown, expired or already used, or if a folder it needs was deleted since.
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": {
"undo": "<undo>"
},
"name": "driftnet_undo_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | Yes | The undo id returned by driftnet_move_items, as-is |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes |