run_sequence
Execute a choreographed sequence of motor actions like move, wait, stop, and command to control servomotors. Define ordered steps to perform complex movements and get final motor states.
Instructions
Execute a choreographed sequence of steps, e.g. "draw a square" or "wave".
Each step is one of: {"action": "move_to", "motor": "88", "degrees": 90, "speed_dps": 120} {"action": "move_relative", "motor": "88", "degrees": -30} {"action": "stop"} # motor optional -> all {"action": "wait", "seconds": 0.5} {"action": "command", "motor": "88", "name": "vibrate", "params": [1]}
Steps run in order; "command" runs any raw catalog command by tool name. Returns the final state of every detected motor.
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": {
"steps": "<steps>"
},
"name": "run_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes |