Undo, redo, checkpoints
edit_historyUndo, redo, and save named checkpoints to revert floor plan changes while preserving every element ID. List history points to restore a project state without duplicating versions.
Instructions
Undo, redo, or name where the plan is now and come back to it. undo and redo step through changes, whoever made them, and the reply names what changed. checkpoint {label} remembers this point; revert {label} undoes back down to it, keeping every id — which duplicating a version cannot do, since a copy renumbers. revert reaches a checkpoint only while the project stays open; history lists them.
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": {
"action": "<action>"
},
"name": "edit_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | For `checkpoint` and `revert`: the checkpoint's name | |
| action | Yes | What to do |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | ||
| ok | Yes | ||
| ids | No | ||
| rev | No | ||
| gone | No | ||
| text | Yes | ||
| added | No | ||
| changed | No | ||
| properties | No | ||
| annotations | No |