sonic_play_file
Run a local Sonic Pi Ruby file in the managed runtime for music synthesis. Supports optional message collection duration and buffer name inputs.
Instructions
Run a local Sonic Pi .rb file in the managed runtime.
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": {
"path": "<path>"
},
"name": "sonic_play_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| collect_ms | No | ||
| buffer_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||