Rollback Transaction
transaction_rollbackRestore the drawing to its state at transaction_begin, discarding all changes made since then.
Instructions
Rollback the current transaction to the point of transaction_begin.
COM: Undoes all operations back to the last undo mark. ezdxf: Restores the document from the saved DXF snapshot.
WARNING: This is destructive – all changes since transaction_begin are lost.
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": "transaction_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||