Rotate
rotateSet rotation speed and direction on a hardware device. Accepts speed 0.0-1.0 and optional clockwise direction.
Instructions
[Hardware control] Forwards a command to physical hardware. Set rotation speed (and direction) on a device.
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": {
"device_id": "<device_id>",
"speed": "<speed>"
},
"name": "rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | Yes | Rotation speed, 0.0-1.0 | |
| clockwise | No | Direction; honored only if the device supports it | |
| device_id | Yes | Device id from list_devices | |
| actuator_index | No | Restrict to one actuator index; omit to drive all matching actuators |