create_automation_algorithm
Create a custom track-shuffling automation algorithm by supplying a name and JavaScript function body, enabling tailored playback order for radio station automation.
Instructions
Create a new automation algorithm for shuffling tracks
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": {
"name": "<name>",
"body": "<body>"
},
"name": "create_automation_algorithm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JavaScript function body, e.g. (function(tracks){return tracks.reverse()}) | |
| name | Yes | The automation algorithm name |