update_automation_algorithm
Update the JavaScript function body for an existing laut.fm automation algorithm by name to change how it processes tracks.
Instructions
Update the function used by an existing automation algorithm
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": "update_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 |