undo
Revert the last N session mutations on a specified screen; a batch counts as one mutation. Use it to roll back recent wireframe edits.
Instructions
Undo the last n session mutations on a screen; a batch is one mutation. Example: {"screen":"checkout","n":1}.
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": {
"screen": "<screen>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| screen | Yes | Lowercase identifier matching [a-z][a-z0-9_]{0,31} |