Sim

Spotify

Search music, manage playlists, control playback, and access your library

Usage Instructions

Integrate Spotify into your workflow. Search for tracks, albums, artists, and playlists. Manage playlists, access your library, control playback, browse podcasts and audiobooks.

Tools

Search for tracks, albums, artists, or playlists on Spotify. Returns matching results based on the query.

Input

ParameterTypeRequiredDescription
querystringYesSearch query (e.g., "Bohemian Rhapsody", "artist:Queen", "genre:rock")
typestringNoType of results: track, album, artist, playlist, or comma-separated (e.g., "track,artist")
limitnumberNoMaximum number of results to return (1-50)
offsetnumberNoIndex of the first result to return for pagination
marketstringNoISO 3166-1 alpha-2 country code to filter results (e.g., "US", "GB")

Output

ParameterTypeDescription
tracksarrayList of matching tracks

spotify_get_track

Get detailed information about a specific track on Spotify by its ID.

Input

ParameterTypeRequiredDescription
trackIdstringYesThe Spotify ID of the track
marketstringNoISO 3166-1 alpha-2 country code for track availability

Output

ParameterTypeDescription
idstringSpotify track ID
namestringTrack name
artistsarrayList of artists
albumobjectAlbum information
duration_msnumberTrack duration in milliseconds
explicitbooleanWhether the track has explicit content
popularitynumberPopularity score (0-100)
preview_urlstringURL to 30-second preview
external_urlstringSpotify URL
uristringSpotify URI for the track

spotify_get_tracks

Get detailed information about multiple tracks on Spotify by their IDs (up to 50).

Input

ParameterTypeRequiredDescription
trackIdsstringYesComma-separated list of Spotify track IDs (max 50)
marketstringNoISO 3166-1 alpha-2 country code for track availability

Output

ParameterTypeDescription
tracksarrayList of tracks

spotify_get_album

Get detailed information about an album on Spotify by its ID, including track listing.

Input

ParameterTypeRequiredDescription
albumIdstringYesThe Spotify ID of the album
marketstringNoISO 3166-1 alpha-2 country code for track availability

Output

ParameterTypeDescription
idstringSpotify album ID
namestringAlbum name
artistsarrayList of artists
album_typestringType of album (album, single, compilation)
total_tracksnumberTotal number of tracks
release_datestringRelease date
labelstringRecord label
popularitynumberPopularity score (0-100)
genresarrayList of genres
image_urlstringAlbum cover image URL
tracksarrayList of tracks on the album
external_urlstringSpotify URL

spotify_get_albums

Get details for multiple albums by their IDs.

Input

ParameterTypeRequiredDescription
albumIdsstringYesComma-separated album IDs (max 20)
marketstringNoISO country code for market

Output

ParameterTypeDescription
albumsjsonList of albums

spotify_get_album_tracks

Get the tracks from an album.

Input

ParameterTypeRequiredDescription
albumIdstringYesThe Spotify album ID
limitnumberNoNumber of tracks to return (1-50)
offsetnumberNoIndex of first track to return

Output

ParameterTypeDescription
tracksjsonList of tracks
totalnumberTotal number of tracks
nextstringURL for next page

spotify_get_saved_albums

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of albums to return (1-50)
offsetnumberNoIndex of first album to return
marketstringNoISO country code for market

Output

ParameterTypeDescription
albumsjsonList of saved albums
totalnumberTotal saved albums
nextstringURL for next page

spotify_save_albums

Save albums to the user

Input

ParameterTypeRequiredDescription
albumIdsstringYesComma-separated album IDs (max 20)

Output

ParameterTypeDescription
successbooleanWhether albums were saved

spotify_remove_saved_albums

Remove albums from the user

Input

ParameterTypeRequiredDescription
albumIdsstringYesComma-separated album IDs (max 20)

Output

ParameterTypeDescription
successbooleanWhether albums were removed

spotify_check_saved_albums

Check if albums are saved in library.

Input

ParameterTypeRequiredDescription
albumIdsstringYesComma-separated album IDs (max 20)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each album

spotify_get_artist

Get detailed information about an artist on Spotify by their ID.

Input

ParameterTypeRequiredDescription
artistIdstringYesThe Spotify ID of the artist

Output

ParameterTypeDescription
idstringSpotify artist ID
namestringArtist name
genresarrayList of genres associated with the artist
popularitynumberPopularity score (0-100)
followersnumberNumber of followers
image_urlstringArtist image URL
external_urlstringSpotify URL

spotify_get_artists

Get details for multiple artists by their IDs.

Input

ParameterTypeRequiredDescription
artistIdsstringYesComma-separated artist IDs (max 50)

Output

ParameterTypeDescription
artistsjsonList of artists

spotify_get_artist_albums

Get albums by an artist on Spotify. Can filter by album type.

Input

ParameterTypeRequiredDescription
artistIdstringYesThe Spotify ID of the artist
include_groupsstringNoFilter by album type: album, single, appears_on, compilation (comma-separated)
limitnumberNoMaximum number of albums to return (1-50)
offsetnumberNoIndex of the first album to return
marketstringNoISO 3166-1 alpha-2 country code

Output

ParameterTypeDescription
albumsarrayArtist

spotify_get_artist_top_tracks

Get the top 10 most popular tracks by an artist on Spotify.

Input

ParameterTypeRequiredDescription
artistIdstringYesThe Spotify ID of the artist
marketstringNoISO 3166-1 alpha-2 country code (required for this endpoint)

Output

ParameterTypeDescription
tracksarrayArtist

spotify_follow_artists

Follow one or more artists.

Input

ParameterTypeRequiredDescription
artistIdsstringYesComma-separated artist IDs to follow (max 50)

Output

ParameterTypeDescription
successbooleanWhether artists were followed successfully

spotify_unfollow_artists

Unfollow one or more artists.

Input

ParameterTypeRequiredDescription
artistIdsstringYesComma-separated artist IDs to unfollow (max 50)

Output

ParameterTypeDescription
successbooleanWhether artists were unfollowed successfully

spotify_get_followed_artists

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of artists to return (1-50)
afterstringNoCursor for pagination (last artist ID from previous request)

Output

ParameterTypeDescription
artistsjsonList of followed artists
totalnumberTotal number of followed artists
nextstringCursor for next page

spotify_check_following

Check if the user follows artists or users.

Input

ParameterTypeRequiredDescription
typestringYesType to check: "artist" or "user"
idsstringYesComma-separated artist or user IDs (max 50)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each ID

spotify_get_show

Get details for a podcast show.

Input

ParameterTypeRequiredDescription
showIdstringYesThe Spotify show ID
marketstringNoISO country code for market

Output

ParameterTypeDescription
idstringShow ID
namestringShow name
descriptionstringShow description
publisherstringPublisher name
total_episodesnumberTotal episodes
explicitbooleanContains explicit content
languagesjsonLanguages
image_urlstringCover image URL
external_urlstringSpotify URL

spotify_get_shows

Get details for multiple podcast shows.

Input

ParameterTypeRequiredDescription
showIdsstringYesComma-separated show IDs (max 50)
marketstringNoISO country code for market

Output

ParameterTypeDescription
showsjsonList of shows

spotify_get_show_episodes

Get episodes from a podcast show.

Input

ParameterTypeRequiredDescription
showIdstringYesThe Spotify show ID
limitnumberNoNumber of episodes to return (1-50)
offsetnumberNoIndex of first episode to return
marketstringNoISO country code for market

Output

ParameterTypeDescription
episodesjsonList of episodes
totalnumberTotal episodes
nextstringURL for next page

spotify_get_saved_shows

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of shows to return (1-50)
offsetnumberNoIndex of first show to return

Output

ParameterTypeDescription
showsjsonList of saved shows
totalnumberTotal saved shows
nextstringURL for next page

spotify_save_shows

Save podcast shows to the user

Input

ParameterTypeRequiredDescription
showIdsstringYesComma-separated show IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether shows were saved

spotify_remove_saved_shows

Remove podcast shows from the user

Input

ParameterTypeRequiredDescription
showIdsstringYesComma-separated show IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether shows were removed

spotify_check_saved_shows

Check if shows are saved in library.

Input

ParameterTypeRequiredDescription
showIdsstringYesComma-separated show IDs (max 50)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each show

spotify_get_episode

Get details for a podcast episode.

Input

ParameterTypeRequiredDescription
episodeIdstringYesThe Spotify episode ID
marketstringNoISO country code for market

Output

ParameterTypeDescription
idstringEpisode ID
namestringEpisode name
descriptionstringEpisode description
duration_msnumberDuration in ms
release_datestringRelease date
explicitbooleanContains explicit content
showjsonParent show info
image_urlstringCover image URL
external_urlstringSpotify URL

spotify_get_episodes

Get details for multiple podcast episodes.

Input

ParameterTypeRequiredDescription
episodeIdsstringYesComma-separated episode IDs (max 50)
marketstringNoISO country code for market

Output

ParameterTypeDescription
episodesjsonList of episodes

spotify_get_saved_episodes

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of episodes to return (1-50)
offsetnumberNoIndex of first episode to return
marketstringNoISO country code for market

Output

ParameterTypeDescription
episodesjsonList of saved episodes
totalnumberTotal saved episodes
nextstringURL for next page

spotify_save_episodes

Save podcast episodes to the user

Input

ParameterTypeRequiredDescription
episodeIdsstringYesComma-separated episode IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether episodes were saved

spotify_remove_saved_episodes

Remove podcast episodes from the user

Input

ParameterTypeRequiredDescription
episodeIdsstringYesComma-separated episode IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether episodes were removed

spotify_check_saved_episodes

Check if episodes are saved in library.

Input

ParameterTypeRequiredDescription
episodeIdsstringYesComma-separated episode IDs (max 50)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each episode

spotify_get_audiobook

Get details for an audiobook.

Input

ParameterTypeRequiredDescription
audiobookIdstringYesThe Spotify audiobook ID
marketstringNoISO country code for market

Output

ParameterTypeDescription
idstringAudiobook ID
namestringAudiobook name
authorsjsonAuthors
narratorsjsonNarrators
publisherstringPublisher
descriptionstringDescription
total_chaptersnumberTotal chapters
languagesjsonLanguages
image_urlstringCover image URL
external_urlstringSpotify URL

spotify_get_audiobooks

Get details for multiple audiobooks.

Input

ParameterTypeRequiredDescription
audiobookIdsstringYesComma-separated audiobook IDs (max 50)
marketstringNoISO country code for market

Output

ParameterTypeDescription
audiobooksjsonList of audiobooks

spotify_get_audiobook_chapters

Get chapters from an audiobook.

Input

ParameterTypeRequiredDescription
audiobookIdstringYesThe Spotify audiobook ID
limitnumberNoNumber of chapters to return (1-50)
offsetnumberNoIndex of first chapter to return
marketstringNoISO country code for market

Output

ParameterTypeDescription
chaptersjsonList of chapters
totalnumberTotal chapters
nextstringURL for next page

spotify_get_saved_audiobooks

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of audiobooks to return (1-50)
offsetnumberNoIndex of first audiobook to return

Output

ParameterTypeDescription
audiobooksjsonList of saved audiobooks
totalnumberTotal saved audiobooks
nextstringURL for next page

spotify_save_audiobooks

Save audiobooks to the user

Input

ParameterTypeRequiredDescription
audiobookIdsstringYesComma-separated audiobook IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether audiobooks were saved

spotify_remove_saved_audiobooks

Remove audiobooks from the user

Input

ParameterTypeRequiredDescription
audiobookIdsstringYesComma-separated audiobook IDs (max 50)

Output

ParameterTypeDescription
successbooleanWhether audiobooks were removed

spotify_check_saved_audiobooks

Check if audiobooks are saved in library.

Input

ParameterTypeRequiredDescription
audiobookIdsstringYesComma-separated audiobook IDs (max 50)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each audiobook

spotify_get_playlist

Get detailed information about a playlist on Spotify by its ID.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify ID of the playlist
marketstringNoISO 3166-1 alpha-2 country code for track availability

Output

ParameterTypeDescription
idstringSpotify playlist ID
namestringPlaylist name
descriptionstringPlaylist description
publicbooleanWhether the playlist is public
collaborativebooleanWhether the playlist is collaborative
ownerobjectPlaylist owner information
image_urlstringPlaylist cover image URL
total_tracksnumberTotal number of tracks
snapshot_idstringPlaylist snapshot ID for versioning
external_urlstringSpotify URL

spotify_get_playlist_tracks

Get the tracks in a Spotify playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify ID of the playlist
limitnumberNoMaximum number of tracks to return (1-100)
offsetnumberNoIndex of the first track to return
marketstringNoISO 3166-1 alpha-2 country code for track availability

Output

ParameterTypeDescription
tracksarrayList of tracks in the playlist

spotify_get_playlist_cover

Get a playlist

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID

Output

ParameterTypeDescription
imagesjsonList of cover images

spotify_get_user_playlists

Get the current user

Input

ParameterTypeRequiredDescription
limitnumberNoMaximum number of playlists to return (1-50)
offsetnumberNoIndex of the first playlist to return

Output

ParameterTypeDescription
playlistsarrayUser

spotify_create_playlist

Create a new playlist for the current user on Spotify.

Input

ParameterTypeRequiredDescription
namestringYesName for the new playlist
descriptionstringNoDescription for the playlist
publicbooleanNoWhether the playlist should be public
collaborativebooleanNoWhether the playlist should be collaborative (requires public to be false)

Output

ParameterTypeDescription
idstringSpotify playlist ID
namestringPlaylist name
descriptionstringPlaylist description
publicbooleanWhether the playlist is public
collaborativebooleanWhether collaborative
snapshot_idstringPlaylist snapshot ID
external_urlstringSpotify URL

spotify_update_playlist

Update a playlist

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
namestringNoNew name for the playlist
descriptionstringNoNew description for the playlist
publicbooleanNoWhether the playlist should be public

Output

ParameterTypeDescription
successbooleanWhether update succeeded

spotify_add_playlist_cover

Upload a custom cover image for a playlist. Image must be JPEG and under 256KB.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
imageBase64stringYesBase64-encoded JPEG image (max 256KB)

Output

ParameterTypeDescription
successbooleanWhether upload succeeded

spotify_add_tracks_to_playlist

Add one or more tracks to a Spotify playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify ID of the playlist
urisstringYesComma-separated Spotify URIs (e.g., "spotify:track:xxx,spotify:track:yyy")
positionnumberNoPosition to insert tracks (0-based). If omitted, tracks are appended.

Output

ParameterTypeDescription
snapshot_idstringNew playlist snapshot ID after modification

spotify_remove_tracks_from_playlist

Remove one or more tracks from a Spotify playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify ID of the playlist
urisstringYesComma-separated Spotify URIs to remove (e.g., "spotify:track:xxx,spotify:track:yyy")

Output

ParameterTypeDescription
snapshot_idstringNew playlist snapshot ID after modification

spotify_reorder_playlist_items

Move tracks to a different position in a playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
range_startnumberYesStart index of items to reorder
insert_beforenumberYesIndex to insert items before
range_lengthnumberNoNumber of items to reorder
snapshot_idstringNoPlaylist snapshot ID for concurrency control

Output

ParameterTypeDescription
snapshot_idstringNew playlist snapshot ID

spotify_replace_playlist_items

Replace all items in a playlist with new tracks.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
urisstringYesComma-separated Spotify URIs (max 100)

Output

ParameterTypeDescription
snapshot_idstringNew playlist snapshot ID

spotify_follow_playlist

Follow (save) a playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
publicbooleanNoWhether the playlist will be in public playlists

Output

ParameterTypeDescription
successbooleanWhether follow succeeded

spotify_unfollow_playlist

Unfollow (unsave) a playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID

Output

ParameterTypeDescription
successbooleanWhether unfollow succeeded

spotify_check_playlist_followers

Check if users follow a playlist.

Input

ParameterTypeRequiredDescription
playlistIdstringYesThe Spotify playlist ID
userIdsstringYesComma-separated user IDs to check (max 5)

Output

ParameterTypeDescription
resultsjsonArray of booleans for each user

spotify_get_current_user

Get the current user

Input

ParameterTypeRequiredDescription

Output

ParameterTypeDescription
idstringSpotify user ID
display_namestringDisplay name
emailstringEmail address
countrystringCountry code
productstringSubscription level (free, premium)
followersnumberNumber of followers
image_urlstringProfile image URL
external_urlstringSpotify profile URL

spotify_get_user_profile

Get a user

Input

ParameterTypeRequiredDescription
userIdstringYesThe Spotify user ID

Output

ParameterTypeDescription
idstringUser ID
display_namestringDisplay name
followersnumberNumber of followers
image_urlstringProfile image URL
external_urlstringSpotify URL

spotify_get_top_tracks

Get the current user

Input

ParameterTypeRequiredDescription
time_rangestringNoTime range: short_term (~4 weeks), medium_term (~6 months), long_term (years)
limitnumberNoNumber of tracks to return (1-50)
offsetnumberNoIndex of the first track to return

Output

ParameterTypeDescription
tracksarrayUser

spotify_get_top_artists

Get the current user

Input

ParameterTypeRequiredDescription
time_rangestringNoTime range: short_term (~4 weeks), medium_term (~6 months), long_term (years)
limitnumberNoNumber of artists to return (1-50)
offsetnumberNoIndex of the first artist to return

Output

ParameterTypeDescription
artistsarrayUser

spotify_get_saved_tracks

Get the current user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of tracks to return (1-50)
offsetnumberNoIndex of the first track to return
marketstringNoISO 3166-1 alpha-2 country code

Output

ParameterTypeDescription
tracksarrayUser

spotify_save_tracks

Save tracks to the current user

Input

ParameterTypeRequiredDescription
trackIdsstringYesComma-separated Spotify track IDs to save (max 50)

Output

ParameterTypeDescription
successbooleanWhether the tracks were saved successfully

spotify_remove_saved_tracks

Remove tracks from the user

Input

ParameterTypeRequiredDescription
trackIdsstringYesComma-separated track IDs to remove (max 50)

Output

ParameterTypeDescription
successbooleanWhether tracks were removed successfully

spotify_check_saved_tracks

Check if one or more tracks are saved in the user

Input

ParameterTypeRequiredDescription
trackIdsstringYesComma-separated track IDs to check (max 50)

Output

ParameterTypeDescription
resultsjsonArray of track IDs with saved status
all_savedbooleanWhether all tracks are saved
none_savedbooleanWhether no tracks are saved

spotify_get_recently_played

Get the user

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of tracks to return (1-50)
afternumberNoUnix timestamp in milliseconds. Returns items after this cursor.
beforenumberNoUnix timestamp in milliseconds. Returns items before this cursor.

Output

ParameterTypeDescription
itemsarrayRecently played tracks

spotify_get_new_releases

Get a list of new album releases featured in Spotify.

Input

ParameterTypeRequiredDescription
countrystringNoISO 3166-1 alpha-2 country code (e.g., "US", "GB")
limitnumberNoNumber of releases to return (1-50)
offsetnumberNoIndex of first release to return

Output

ParameterTypeDescription
albumsjsonList of new releases
totalnumberTotal number of new releases
nextstringURL for next page

spotify_get_categories

Get a list of browse categories used to tag items in Spotify.

Input

ParameterTypeRequiredDescription
countrystringNoISO 3166-1 alpha-2 country code (e.g., "US", "GB")
localestringNoLocale code (e.g., "en_US", "es_MX")
limitnumberNoNumber of categories to return (1-50)

Output

ParameterTypeDescription
categoriesjsonList of browse categories
totalnumberTotal number of categories

spotify_get_markets

Get the list of markets where Spotify is available.

Input

ParameterTypeRequiredDescription

Output

ParameterTypeDescription
marketsjsonList of ISO country codes

spotify_get_playback_state

Get the current playback state including device, track, and progress.

Input

ParameterTypeRequiredDescription
marketstringNoISO 3166-1 alpha-2 country code

Output

ParameterTypeDescription
is_playingbooleanWhether playback is active
deviceobjectActive device information
progress_msnumberProgress in milliseconds
currently_playing_typestringType of content playing
shuffle_statebooleanWhether shuffle is enabled
repeat_statestringRepeat mode (off, track, context)
trackobjectCurrently playing track

spotify_get_currently_playing

Get the user

Input

ParameterTypeRequiredDescription
marketstringNoISO country code for market

Output

ParameterTypeDescription
is_playingbooleanWhether playback is active
progress_msnumberCurrent position in track (ms)
trackjsonCurrently playing track

spotify_get_devices

Get the user

Input

ParameterTypeRequiredDescription

Output

ParameterTypeDescription
devicesarrayAvailable playback devices

spotify_get_queue

Get the user

Input

ParameterTypeRequiredDescription

Output

ParameterTypeDescription
currently_playingjsonCurrently playing track
queuejsonUpcoming tracks in queue

spotify_play

Start or resume playback on Spotify. Can play specific tracks, albums, or playlists.

Input

ParameterTypeRequiredDescription
device_idstringNoDevice ID to play on. If not provided, plays on active device.
context_uristringNoSpotify URI of album, artist, or playlist to play (e.g., "spotify:album:xxx")
urisstringNoComma-separated track URIs to play (e.g., "spotify:track:xxx,spotify:track:yyy")
offsetnumberNoPosition in context to start playing (0-based index)
position_msnumberNoPosition in track to start from (in milliseconds)

Output

ParameterTypeDescription
successbooleanWhether playback started successfully

spotify_pause

Pause playback on Spotify.

Input

ParameterTypeRequiredDescription
device_idstringNoDevice ID to pause. If not provided, pauses active device.

Output

ParameterTypeDescription
successbooleanWhether playback was paused

spotify_skip_next

Skip to the next track on Spotify.

Input

ParameterTypeRequiredDescription
device_idstringNoDevice ID. If not provided, uses active device.

Output

ParameterTypeDescription
successbooleanWhether skip was successful

spotify_skip_previous

Skip to the previous track on Spotify.

Input

ParameterTypeRequiredDescription
device_idstringNoDevice ID. If not provided, uses active device.

Output

ParameterTypeDescription
successbooleanWhether skip was successful

spotify_seek

Seek to a position in the currently playing track.

Input

ParameterTypeRequiredDescription
position_msnumberYesPosition in milliseconds to seek to
device_idstringNoDevice ID to target

Output

ParameterTypeDescription
successbooleanWhether seek was successful

spotify_add_to_queue

Add a track to the user

Input

ParameterTypeRequiredDescription
uristringYesSpotify URI of the track to add (e.g., "spotify:track:xxx")
device_idstringNoDevice ID. If not provided, uses active device.

Output

ParameterTypeDescription
successbooleanWhether track was added to queue

spotify_set_volume

Set the playback volume on Spotify.

Input

ParameterTypeRequiredDescription
volume_percentnumberYesVolume level (0 to 100)
device_idstringNoDevice ID. If not provided, uses active device.

Output

ParameterTypeDescription
successbooleanWhether volume was set

spotify_set_repeat

Set the repeat mode for playback.

Input

ParameterTypeRequiredDescription
statestringYesRepeat mode: "off", "track", or "context"
device_idstringNoDevice ID to target

Output

ParameterTypeDescription
successbooleanWhether repeat mode was set successfully

spotify_set_shuffle

Turn shuffle on or off.

Input

ParameterTypeRequiredDescription
statebooleanYestrue for shuffle on, false for off
device_idstringNoDevice ID to target

Output

ParameterTypeDescription
successbooleanWhether shuffle was set successfully

spotify_transfer_playback

Transfer playback to a different device.

Input

ParameterTypeRequiredDescription
device_idstringYesDevice ID to transfer playback to
playbooleanNoWhether to start playing on the new device

Output

ParameterTypeDescription
successbooleanWhether transfer was successful

Notes

  • Category: tools
  • Type: spotify
On this page

On this page

Usage Instructions
Tools
spotify_search
Input
Output
spotify_get_track
Input
Output
spotify_get_tracks
Input
Output
spotify_get_album
Input
Output
spotify_get_albums
Input
Output
spotify_get_album_tracks
Input
Output
spotify_get_saved_albums
Input
Output
spotify_save_albums
Input
Output
spotify_remove_saved_albums
Input
Output
spotify_check_saved_albums
Input
Output
spotify_get_artist
Input
Output
spotify_get_artists
Input
Output
spotify_get_artist_albums
Input
Output
spotify_get_artist_top_tracks
Input
Output
spotify_follow_artists
Input
Output
spotify_unfollow_artists
Input
Output
spotify_get_followed_artists
Input
Output
spotify_check_following
Input
Output
spotify_get_show
Input
Output
spotify_get_shows
Input
Output
spotify_get_show_episodes
Input
Output
spotify_get_saved_shows
Input
Output
spotify_save_shows
Input
Output
spotify_remove_saved_shows
Input
Output
spotify_check_saved_shows
Input
Output
spotify_get_episode
Input
Output
spotify_get_episodes
Input
Output
spotify_get_saved_episodes
Input
Output
spotify_save_episodes
Input
Output
spotify_remove_saved_episodes
Input
Output
spotify_check_saved_episodes
Input
Output
spotify_get_audiobook
Input
Output
spotify_get_audiobooks
Input
Output
spotify_get_audiobook_chapters
Input
Output
spotify_get_saved_audiobooks
Input
Output
spotify_save_audiobooks
Input
Output
spotify_remove_saved_audiobooks
Input
Output
spotify_check_saved_audiobooks
Input
Output
spotify_get_playlist
Input
Output
spotify_get_playlist_tracks
Input
Output
spotify_get_playlist_cover
Input
Output
spotify_get_user_playlists
Input
Output
spotify_create_playlist
Input
Output
spotify_update_playlist
Input
Output
spotify_add_playlist_cover
Input
Output
spotify_add_tracks_to_playlist
Input
Output
spotify_remove_tracks_from_playlist
Input
Output
spotify_reorder_playlist_items
Input
Output
spotify_replace_playlist_items
Input
Output
spotify_follow_playlist
Input
Output
spotify_unfollow_playlist
Input
Output
spotify_check_playlist_followers
Input
Output
spotify_get_current_user
Input
Output
spotify_get_user_profile
Input
Output
spotify_get_top_tracks
Input
Output
spotify_get_top_artists
Input
Output
spotify_get_saved_tracks
Input
Output
spotify_save_tracks
Input
Output
spotify_remove_saved_tracks
Input
Output
spotify_check_saved_tracks
Input
Output
spotify_get_recently_played
Input
Output
spotify_get_new_releases
Input
Output
spotify_get_categories
Input
Output
spotify_get_markets
Input
Output
spotify_get_playback_state
Input
Output
spotify_get_currently_playing
Input
Output
spotify_get_devices
Input
Output
spotify_get_queue
Input
Output
spotify_play
Input
Output
spotify_pause
Input
Output
spotify_skip_next
Input
Output
spotify_skip_previous
Input
Output
spotify_seek
Input
Output
spotify_add_to_queue
Input
Output
spotify_set_volume
Input
Output
spotify_set_repeat
Input
Output
spotify_set_shuffle
Input
Output
spotify_transfer_playback
Input
Output
Notes
Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started