Play notes
play_notesPlays a tune on the VEX AIM robot's speaker using note strings with optional durations, then waits until playback completes or 30 seconds pass.
Instructions
Play a tune on the robot's speaker and wait for it to finish (30 seconds at most).
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": {
"notes": "<notes>"
},
"name": "play_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Notes with optional lengths in ms, e.g. "C5:400 E5:400 G5:800" or "C6 R:200 C6" (R is a rest). Octaves 5-8; # sharp, b flat. | |
| volume | No |