Edit queue
queue_editManage the Lyrion Music Server playback queue by clearing all tracks, removing a track at a given index, moving a track to another position, or jumping directly to a specific track.
Instructions
Clear the queue, remove a track by index, move a track, or jump to an index.
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": {
"action": "<action>"
},
"name": "queue_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| action | Yes | ||
| player | No | Player MAC address or exact name. Defaults to LMS_DEFAULT_PLAYER or the only player. | |
| toIndex | No |