cancel-editing-transaction
Use cancel-editing-transaction to discard every edit applied since start-editing-transaction and leave the design unchanged. To save the edits instead, use commit-editing-transaction.
Example prompt
"Actually, scrap those changes."
Pass the transaction_id returned by start-editing-transaction.
Example response
IDs below are placeholders; field names and structure are exactly as returned.
{"transaction": { "id": "TXN_EXAMPLE", "status": "cancelled" }}
A status of cancelled confirms the draft edits were discarded and can't be recovered. The transaction_id is now invalid; start a new transaction to edit the design again.
If commit-editing-transaction fails because someone edited the design concurrently, the transaction's snapshot is stale and retrying the commit won't help. Cancel it with this tool, then start a fresh transaction, re-apply the operations, and commit.