play_melody
Generate and play a stepwise melody through a chosen scale that resolves on the tonic.
Instructions
Generate and play a melody that moves mostly stepwise through a scale and ends on the tonic.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "play_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Tonic such as D, F#3 or Bb4; random if omitted | |
| seed | No | Random seed for a reproducible result; omit for a new one | |
| notes | No | Number of notes | |
| scale | No | major | |
| synth | No | pluck | |
| tempo | No | Beats per minute | |
| volume | No | Loudness, 0..1 | |
| effects | No | Optional effect chain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |