itunes_move_playlist_track
Move a track within an Apple Music playlist by specifying its current position and the target position. Reorder playlist tracks by providing the playlist name and the 1-indexed from and to positions.
Instructions
Move a track inside a playlist from one position (1-indexed) to another position.
Args: playlist: The name of the playlist to edit. from_index: The current 1-indexed position of the track to move. to_index: The target 1-indexed position to move the track to.
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": "<playlist>",
"from_index": "<from_index>",
"to_index": "<to_index>"
},
"name": "itunes_move_playlist_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist | Yes | ||
| to_index | Yes | ||
| from_index | Yes |