Edit a joint
edit_jointChanges an existing joint, making no new one: its name, its limits or both, where it stands - nothing moves, its type and axis stay. limits are the new ends from the joint's zero, degrees for revolute and mm for slider; min or max given alone keeps the other end. A name may not start with a digit nor be another joint's: it goes into the robot's ROS names. effort and velocity are its limits in the robot export (N·m and rad/s, a slider's N and m/s), over the maker's figures of a library servo on its axis; 0 clears one. Change limits and names with this, not by deleting the joint and adding it again. Returns the old and new limits, the export's effort and velocity and where the joint stands. One undo step.
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": {
"joint": "<joint>"
},
"name": "edit_joint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Its new name, e.g. right_hip_roll. | |
| joint | Yes | The joint's name, as get_document lists it. | |
| effort | No | Its effort limit in the robot export, N·m (a slider's N); 0 clears it. | |
| limits | No | The new ends from the joint's zero (revolute and slider); one alone keeps the other. | |
| velocity | No | Its velocity limit in the robot export, rad/s (a slider's m/s); 0 clears it. |