add_to_library
Saves Apple Music catalog songs, albums, or playlists to the user's library so found items can be kept for later listening.
Instructions
Save Apple Music catalog songs, albums or playlists into the user's library.
Use this when the user wants to keep something found with search_catalog, get_playlist_tracks or get_recommendations. Saved playlists then appear in get_library_playlists.
Args: song_ids: Comma-separated catalog song IDs (numeric). album_ids: Comma-separated catalog album IDs (numeric). playlist_ids: Comma-separated catalog playlist IDs (start with 'pl.').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| song_ids | No | ||
| album_ids | No | ||
| playlist_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |