Scene Checkpoint
scene_checkpointSaves the current Maya scene to a self-contained .ma file inside a checkpoints/ directory, letting agents create restore points before risky edits. Names unnamed scenes and rejects duplicate names unless overwrite is enabled.
Instructions
Save the current scene to a .ma file on disk under checkpoints/.
Boundary: Disambiguated from scene_checkpoint_list (list the checkpoint files already written) and scene_rollback (open one and point the scene at it) — scene_checkpoint is the save half.
Writes a self-contained .ma into a checkpoints/ directory next to the scene file. A scene that was never saved to disk needs an explicit name, and its temporary checkpoint goes under the Maya workspace — returned with original_file_status="no_original_file" and scene_rebound_to=null. Same-name checkpoints are rejected unless overwrite=True (the old file is preserved via rename).
Honest bounds: the file contains no undo history — after scene_rollback, call scene_snapshot to rebuild context. References are flattened (self-contained, no write-back). Assumes one scene file per session.
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": "scene_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Checkpoint name (^[A-Za-z0-9_-]+$). Required when the scene was never saved to disk. | |
| overwrite | No | Replace a same-name checkpoint, preserving the old file. | |
| session_key | No | Maya session key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |