Undo a change
undo_changeUndo block or container changes made via WorldAPI by agents, panels, or tokens; list recent changes when no ID is given. Confirm before reverting another user's edits.
Instructions
Take back a change made through WorldAPI: blocks set or filled and containers edited, by this agent, the panel, or another token. Without id, it lists recent changes instead, newest first, with who made them, where, and how many blocks. Blocks that changed again since, by players or a later change, stay as they are unless force is on. Changes made by players in the game, by physics, and to entities aren't kept, and the list empties when the server stops. Confirm with the user before undoing someone else's change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The change to undo; leave out to list them | |
| force | No | Also restore blocks changed again since | |
| limit | No | How many items to return; 0 answers only the total, to count without listing | |
| world | No | When listing: only this world | |
| cursor | No | `nextCursor` from the previous page |