reorder-playlist-tracks
Move a range of tracks within a Spotify playlist to a new position by setting the starting index, optional length, and insert position.
Instructions
Reorder tracks in a playlist by moving a range of tracks to a new position
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": {
"playlistId": "<playlistId>",
"rangeStart": "<rangeStart>",
"insertBefore": "<insertBefore>"
},
"name": "reorder-playlist-tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlistId | Yes | Spotify ID of the playlist | |
| rangeStart | Yes | Position of the first track to move (0-based index) | |
| rangeLength | No | Number of tracks to move (default: 1) | |
| insertBefore | Yes | Position where the tracks should be inserted (0-based index) |