move_playlist_item
Changes the order of tracks in a playlist by moving a selected track to a new position.
Instructions
Move a track within the current playlist
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": {
"playerId": "<playerId>",
"fromIndex": "<fromIndex>",
"toIndex": "<toIndex>"
},
"name": "move_playlist_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playerId | Yes | Player ID to control | |
| fromIndex | Yes | Source track index | |
| toIndex | Yes | Destination track index |