Set device
score.set_deviceChange a device's params, turn it off or on, or move it in its part's order. Returns the new score_id (edit that one next).
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": {
"device_id": "<device_id>",
"score_id": "<score_id>"
},
"name": "score.set_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Params to change; others keep their values. A group or list given replaces it whole; null removes a param | |
| enabled | No | false bypasses it | |
| at_index | No | Its new position in the order | |
| score_id | Yes | The score to edit | |
| device_id | Yes | The device |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | The version this edit started from | |
| changed | Yes | What the edit added, removed or modified | |
| score_id | Yes | The new version: edit this one next (older ids stay valid) | |
| warnings | Yes |