transaction
Manage atomic AutoCAD document transactions with idempotency and revision control. Execute operations safely, handle document identity, and support undo operations.
Instructions
Document identity and atomic native AutoCAD transactions.
Operations: context - Read canonical native document/session/revision identity. create - Create a document. data: {name?}; requires idempotency_key. execute - Atomically apply data.operations through the native worker. Requires doc_id, expected_revision, and idempotency_key. begin/commit/rollback - Compatibility undo transaction operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| doc_id | No | ||
| operation | Yes | ||
| transaction_id | No | ||
| idempotency_key | No | ||
| expected_revision | No |