reorder_playlist_tracks
Reorder tracks in a Spotify playlist by moving a contiguous block to a new position.
Instructions
Move tracks within a 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": {
"playlist_id": "<playlist_id>",
"range_start": "<range_start>",
"insert_before": "<insert_before>"
},
"name": "reorder_playlist_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID | |
| range_start | Yes | Position of first track to move (0-indexed) | |
| insert_before | Yes | Position to insert before (0-indexed) | |
| range_length | No | Number of tracks to move (default 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||