Now Playing
get_playback_stateRetrieves the current Spotify playback state, including track, device, progress, shuffle, and repeat, so you can check what is playing and whether playback is active.
Instructions
Get the current playback state: track, device, progress, shuffle and repeat.
Returns:
PlaybackState (is_playing is False when nothing is playing)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_playback_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | ||
| device | No | ||
| repeat | No | off | |
| volume | No | ||
| shuffle | No | ||
| is_playing | Yes | ||
| progress_ms | No | ||
| currently_playing_type | No |