play_sound
Plays a named RTTTL melody from the MELODIES folder on a Ulanzi clock, with optional clock selection.
Instructions
Play a RTTTL melody from the MELODIES folder.
Args: sound: Name of the sound file (without extension) clock_index: Optional index of clock to target (0-based). Defaults to first clock.
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": {
"sound": "<sound>"
},
"name": "play_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sound | Yes | ||
| clock_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||