Skip to main content
Transactions, rollback, save-state inspection, save-location prompting, autosave, and guarded Python execution. Tool count: 12. Client note: ctx is injected by the MCP server and is not supplied as a user argument.

autosave

Signature:
Descriptor:

execute_code

Signature:
Descriptor:
Failure behavior: if the snippet raises, only the objects created by that failed call are removed and the document is recomputed. Edits from earlier successful calls in the same open transaction are preserved, and the transaction stays open so you can continue or cancel it explicitly with transaction_cancel. The response lists what was reverted; nothing is saved on failure, so a failed run never leaves new partial objects behind for the next autosave to persist. Execution waits for the queued GUI task to finish; it does not report a timeout while the same code continues mutating the document in the background.

is_file_saved

Signature:
Descriptor:

request_file_save

Signature:
Descriptor:

rollback_to_transaction

Signature:
Descriptor:

transaction_apply

Signature:
Descriptor:

transaction_cancel

Signature:
Descriptor:

transaction_create

Signature:
Descriptor:

transaction_delete

Signature:
Descriptor:

transaction_get

Signature:
Descriptor:

transaction_list

Signature:
Descriptor:

transaction_plan

Signature:
Descriptor: