reorder_playlist_tracks
Move a track to a new position within a TIDAL playlist by specifying its current and target 0-based indices. Use it to change playlist track order.
Instructions
Move/reorder a track within a TIDAL playlist.
USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Move track at position X to position Y"
- "Reorder my playlist"
- "Put song #5 at the beginning"
- Any request to change the order of tracks in a playlist
This function moves a track from one position to another within a playlist.
Indices are 0-based (first track is index 0).
When processing the results of this tool:
1. Confirm the track was moved successfully
2. Remind the user that indices are 0-based
3. Describe the move clearly (e.g., "moved from position 5 to position 2")
Args:
playlist_id: The TIDAL ID of the playlist (required)
from_index: Current position of the track (0-based) (required)
to_index: New position for the track (0-based) (required)
Returns:
A dictionary with "status" and move details. Returns an "error" key on failure.
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>",
"from_index": "<from_index>",
"to_index": "<to_index>"
},
"name": "reorder_playlist_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_index | Yes | ||
| from_index | Yes | ||
| playlist_id | Yes |