set_repeat
Set the repeat mode for Spotify playback to repeat track, context, or turn it off. Optionally specify a device ID.
Instructions
Set the repeat mode for playback.
Args:
state: Repeat mode: "track", "context", or "off".
device_id: ID of the device. If not provided, uses the active device.
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": "set_repeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| device_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |