repeat
Set Spotify playback to loop off, one track, or the album/playlist for the active or selected device.
Instructions
Set repeat mode. Needs state.
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": {
"state": "<state>"
},
"name": "repeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | track = repeat one song, context = repeat the album or playlist. | |
| device_id | No | Optional device ID from get_devices. |