add_tracks_to_playlist
Adds one or more tracks to an existing TIDAL playlist and reports which were added, with reasons for failures. Use when a user asks to put songs into a playlist they can edit.
Instructions
Add tracks to an existing TIDAL playlist.
USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Add these songs to my playlist"
- "Add [track] to [playlist name]"
- "Put these tracks in my playlist"
- Any request to add songs/tracks to an existing playlist
This function adds tracks to a user's existing TIDAL playlist. The playlist
must already exist, and the user must have permission to edit it.
When processing the results of this tool:
1. Confirm how many tracks were added successfully
2. Provide clear feedback about the operation
3. If any tracks failed to add, explain why
Args:
playlist_id: The TIDAL ID of the playlist (required)
track_ids: A list of TIDAL track IDs to add to the playlist (required)
Returns:
A dictionary with "status", "tracks_added". 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>",
"track_ids": "<track_ids>"
},
"name": "add_tracks_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_ids | Yes | ||
| playlist_id | Yes |