Undo the last change
undoReverts the last map edit from its pre-change snapshot, restoring blocks and entities; call repeatedly to step back through earlier changes.
Instructions
Puts back the area changed by the most recent change (place, fill, copy, clear, import, or run_command with backup_area), from the snapshot taken before it: blocks, and entities when the snapshot has them (entities added since are removed, removed ones are summoned again). Call again to go further back; status lists what can be undone.
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": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true only after the person agreed to this change (needed while confirmDestructive is on). |