vibrate
Set a servomotor to shake or stop by assigning vibration level 1 or 0 to a specific motor, its ID, or all motors.
Instructions
Cause the motor to start to vary the voltage quickly and therefore to vibrate (or stop). [Firmware command "Vibrate", group: Device Management.] Parameters:
vibrationLevel: Vibration level (0 = turn off, 1 = turn on). Returns: success confirmation. motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).
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>",
"vibrationLevel": "<vibrationLevel>"
},
"name": "vibrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| vibrationLevel | Yes |