mujoco_reset
Reset a MuJoCo session to its initial state or a named keyframe, zero the step counter, and clear force guard and runtime errors. Returns the post-reset state JSON.
Instructions
Reset a session to its initial state (or a named keyframe) and zero the step counter.
Without a keyframe, restores the configured seeded start (if any), else model defaults.
Clears force guard and runtime errors. Identical full states and control sequences
reproduce trajectories with the same model, engine and stepping schedule.
Returns the post-reset state JSON (same shape as mujoco_get_state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyframe | No | Keyframe name or index; omit for the configured experiment start, or model default | |
| precision | No | Decimal places for returned floats | |
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |