get_current_track
Retrieves details about the currently playing Spotify track and returns metadata including the track URI, enabling other tools to use the current track.
Instructions
Retrieve information about the track currently playing on Spotify.
Returns structured metadata including the track URI, which is needed by
other tools such as add_to_queue and get_recommendations.
Returns
dict
Keys: is_playing, track_name, artists, album,
duration_ms, progress_ms, track_url, track_uri.
Returns {"is_playing": False} when nothing is playing.
Raises
spotipy.SpotifyException Propagated if the Spotify API returns a non-2xx response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||