Rollback Transaction
transaction_rollbackUndoes all drawing changes made since a transaction began, restoring the saved DXF snapshot. Returns an error when no transaction is active; all edits since the start are lost.
Instructions
Rollback the current transaction to the point of transaction_begin.
COM: Undoes all operations back to the UNDO Mark transaction_begin set;
refused (ok: false) when no transaction is active.
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 | |||