Control playback
playbackTake charge of your current Spotify session with commands to pause, resume, skip, seek, adjust volume, and toggle shuffle or repeat.
Instructions
Transport controls for the active playback: pause, resume, next, previous, seek (value = seconds), volume (value = 0-100), shuffle (value = on/off), repeat (value = off/context/track).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "playback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | seek: seconds · volume: 0-100 · shuffle: on/off · repeat: off/context/track | |
| action | Yes |