configure_mujoco_scene
Apply one MuJoCo scene configuration action to a running controller for safety boundaries, scene objects/cameras, embodiment attachments, or environment feedback.
Instructions
Apply one MuJoCo settings action on the running controller.
apply_scene_objects, apply_scene_cameras, apply_embodiment_attachments,
and set_environment_feedback replace the full document. Read
get_mujoco_scene_config first and send the complete list back.
Actions and body fields:
set_cartesian_safety_boundary:enabled,workspace_min_mm,workspace_max_mm(each[x, y, z]mm), optionalcenter_approach_mm_s.apply_scene_objects:objectslist of{id, shape, size_mm, position_mm, rgba, dynamic, mass_g, friction}.shapeis sphere, box, or capsule.size_mmis[radius]for a sphere,[radius, half_length]for a capsule, or three half-extents for a box (short lists are padded to three).mass_gis weight in grams for dynamic objects.frictionis optional[sliding, torsional, rolling].apply_scene_cameras:disabled_model_camera_names,added_cameraswithid,position_mm,fovy_deg,aim_at_safety_zone,orientation_yaw_deg,orientation_pitch_deg,orientation_roll_deg,vision_mode(simpleorsegmented),feagi_group,resolution_px([width, height], default[128, 128]).apply_embodiment_attachments:bodiesof{body_name, motor_enabled, sensory_enabled, imu_enabled, cameras, xml_mounts}. Each camera hasid,offset_mm(body-local[x, y, z]mm from the body/joint origin),fovy_deg,orientation_yaw_deg,orientation_pitch_deg,orientation_roll_deg,vision_mode,feagi_group. Eachxml_mountsentry hasid,xml, optionalxml_path,offset_mm, orientation degrees, andio_mode(fullkeeps actuators/sensors,geometryattaches bodies only). Full I/O also requiresdevice_id(stable motor-group name) andfeagi_group(pinned CorticalUnitIndex, must not collide with host limbs or cameras). Restart after a full-I/O mount so FEAGI creates those cortical areas.set_environment_feedback:rulesof{id, enabled, display_name, source}wheresourceissafety_boundary,imu_tilt,body_height, orbody_contact. Tilt addstarget_body,tilt_limit_deg,up_axis. Height addstarget_body,min_height_mm. Contact addstarget_body,contact_body.
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": {
"action": "<action>"
},
"name": "configure_mujoco_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| action | Yes | ||
| controller_id | No | mujoco |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||