add_to_playlist
Add tracks by ID to a specific Apple Music playlist while automatically skipping songs already present. Use it to build or update playlists without duplicates.
Instructions
Add tracks (by id) to a playlist. Tracks already in the playlist are skipped.
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>",
"track_ids": "<track_ids>"
},
"name": "add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist | Yes | ||
| track_ids | Yes |