Scene Checkpoint
scene_checkpointSave a self-contained Maya scene snapshot to a checkpoints folder for later rollback; name is required for untitled scenes and overwrite can preserve old files.
Instructions
Save a real scene snapshot (exportAll of in-memory state).
Boundary: Disambiguated from scene_checkpoint_list (enumerate the checkpoints already written) and scene_rollback (open one and rebind the scene to it) — scene_checkpoint is the write half.
Writes a self-contained .ma into a checkpoints/ directory next to the scene file. On untitled (never-saved) scenes an explicit name is required and produces an ad-hoc snapshot 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 snapshot 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 on untitled scenes. | |
| 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 |