set_joint_command
Apply position, velocity, or effort commands to selected joints of an articulation in Isaac Sim. Validates all inputs before applying to ensure only valid commands take effect.
Instructions
Apply an atomic position, velocity, or effort joint command.
All selectors and values are validated before the adapter is called, so an unknown name, invalid index, duplicate selector, non-finite value, or length mismatch applies nothing. Effort commands must be renewed every simulation update; this tool applies one update's effort command.
Args: prim_path: USD path of the articulation root. mode: One of position, velocity, or effort. values: Command values ordered by the selected joints. joint_names: Optional exact, case-sensitive joint subset. joint_indices: Optional DOF-index subset; mutually exclusive with joint_names.
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": {
"prim_path": "<prim_path>",
"mode": "<mode>",
"values": "<values>"
},
"name": "set_joint_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| values | Yes | ||
| prim_path | Yes | ||
| command_id | No | ||
| joint_names | No | ||
| joint_indices | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |