Begin Transaction
transaction_beginBegin an undo transaction to mark a rollback point, allowing all later changes to be reverted via transaction_rollback. Works with both AutoCAD COM undo marks and DXF snapshots.
Instructions
Begin a transaction (undo mark).
COM backend: Sets AutoCAD undo mark. All subsequent operations can be rolled back to this point with transaction_rollback.
ezdxf backend: Saves a DXF snapshot. Rollback restores the full document state to this point.
Always pair with transaction_commit or transaction_rollback.
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_begin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||