move_relative
Moves a servomotor incrementally by a specified number of degrees, positive or negative, and waits until it finishes. Use it to jog a bit, back off, or adjust position by a relative amount.
Instructions
Move one motor by a RELATIVE amount in degrees (+/-) and wait for it to finish.
Use for "turn a bit more", "back off 10 degrees", or incremental jogging. Any
magnitude is allowed, including multiple full turns. speed_dps is degrees/second
(default 180). Enables the MOSFETs automatically and returns the settled position.
motor: an alias number (e.g. 88) or a 16-hex-digit unique ID from list_motors.
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": {
"motor": "<motor>",
"degrees": "<degrees>"
},
"name": "move_relative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| degrees | Yes | ||
| speed_dps | No |