Undo an edit
iter0_undo_editUndo the last saved edit from the iter0 card. Free. Puts back the exact page from before that edit, which iter0 kept, only while the edit is still the design's current page and the undo has not expired.
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": {
"designId": "<designId>",
"undoToken": "<undoToken>"
},
"name": "iter0_undo_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Ignored. Older cards still send it; iter0 restores its own kept copy. | |
| designId | Yes | ||
| undoToken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||