add_tracks_to_playlist
Adds one or more tracks to an existing TIDAL playlist. Specify the playlist ID and track IDs to include songs from your library.
Instructions
Adds tracks to an existing TIDAL playlist.
USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Add this song to my playlist"
- "Put these tracks in my [playlist name] playlist"
- "Add this to my favorites playlist"
- "Include this track in my workout playlist"
- Any request to add songs/tracks to an existing playlist
This function adds one or more tracks to a playlist that already exists in the user's TIDAL account.
The playlist_id must be provided, which can be obtained from the get_user_playlists() function.
When processing the results of this tool:
1. Confirm how many tracks were successfully added
2. If allow_duplicates is False and some tracks were already in the playlist, they won't be added again
3. Mention the playlist name and provide a link to it
Args:
playlist_id: The TIDAL ID of the playlist to add tracks to (required)
track_ids: List of TIDAL track IDs to add to the playlist (required)
allow_duplicates: If False (default), tracks already in the playlist won't be added again
Returns:
A dictionary containing the status and number of tracks added
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_ids | Yes | ||
| playlist_id | Yes | ||
| allow_duplicates | No |