Undo a change
undo_changeUndo WorldAPI block or container changes by ID, or list recent changes newest first when no ID is given. Use force to override later edits and confirm before reverting another player's work.
Instructions
Take back a change made through WorldAPI: blocks set or filled, containers edited. Without id, lists recent ones, newest first, with who, where, and how many blocks. Blocks changed again since stay unless force. Players' own changes and entities aren't kept, and the list empties when the server stops. Confirm before undoing someone else's change.
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_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| force | No | ||
| limit | No | Page size: 0 only counts | |
| world | No | When listing | |
| cursor | No | `nextCursor` from the previous page |