reorder_playlist_items
Rearrange items in a Spotify playlist by specifying the starting position, target insertion point, and number of items to move.
Instructions
Reorder items in a playlist.
Args:
playlist_id: The Spotify ID of the playlist.
range_start: Position of the first item to be reordered.
insert_before: Position where the items should be inserted.
range_length: Number of items to reorder (default 1).
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_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | ||
| range_start | Yes | ||
| range_length | No | ||
| insert_before | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |