Begin Transaction
transaction_beginBegin an undo transaction by setting an AutoCAD undo mark or saving a DXF snapshot. This checkpoint makes all subsequent operations reversible, allowing rollback to this exact state.
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 | |||