mujoco_get_snapshot
Retrieve the full integration snapshot for a session, including unrounded state, step/noise counters, guard status, and solver inputs. Persist this JSON to record or reproduce exact simulation states.
Instructions
Get unrounded mjSTATE_INTEGRATION plus step/noise counters and guard status.
Includes act, warm-start, applied forces, mocap and other integration inputs,
beyond qpos/qvel. Persist this JSON in your project. Pause before capture.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "mujoco_get_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |