set_safety_boundary
Configure the Cartesian safety boundary for an experiment and robot, including optional pain feedback, to constrain real and simulated movement to a defined workspace.
Instructions
Set the safety boundary (Cartesian box) for the experiment and robot.
There is one boundary per experiment and robot. The real arm and every sim
enforce it. It is stored with its frame (embodiment_base or world;
when omitted, a new box takes its frame from the robot model) and a pain
flag (default on: the brain receives pain when the robot presses against the
boundary). The user can also edit it in Studio under Embodiment settings >
Safety boundary.
When enabled is true, workspace_min_mm and workspace_max_mm are
required [x, y, z] corners in millimeters, and max must exceed min on
every axis. center_approach_mm_s is the optional homing speed.
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": {
"enabled": "<enabled>"
},
"name": "set_safety_boundary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pain | No | ||
| frame | No | ||
| enabled | Yes | ||
| controller_id | No | mujoco | |
| workspace_max_mm | No | ||
| workspace_min_mm | No | ||
| center_approach_mm_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||