undo_last_transaction
Revert the most recent committed agent transaction on the canvas to restore the previous state. Specify a file or transaction ID to target a specific undo.
Instructions
Reverts the most recent committed agent transaction on the canvas.
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_last_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional target file ID. | |
| transactionId | No | Optional explicit transaction ID to revert. |