get_mujoco_scene_config
Read live MuJoCo scene settings before editing lists so existing objects, cameras, bodies, and rules are preserved; optionally fetch only the compact fence status or a named section.
Instructions
Read live MuJoCo settings (section="fence" for the compact fence status only).
Call this before replacing a list (objects, cameras, embodiment bodies, feedback
rules) so an edit keeps what is already in the scene. Positions are millimeters.
Object weight is mass_g in grams and is used only when dynamic is true.
Object friction is optional [sliding, torsional, rolling]. Omit it to keep
MuJoCo's default contact. get_loop_timing is the controller loop's per-phase
timing (mean, p95, max ms), overruns and real-time factor over the last 10 s.
The full read is several KB. section="fence" returns only the Cartesian fence status
(supported, fence_enabled, ee_pose_mm, fence_violation_mm,
fence_violated, fence_rejection_count, last_rejection_at,
last_rejection_violation_mm, workspace_min_mm, workspace_max_mm); any section
name (status, list_scene_objects, ...) returns just that section.
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": "get_mujoco_scene_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | ||
| controller_id | No | mujoco |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||