set_shuffle
Enable or disable shuffle mode for Spotify playback, optionally targeting a specific device and previewing changes.
Instructions
Enable or disable shuffle mode
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_shuffle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | true = shuffle on, false = shuffle off | |
| dry_run | No | Preview only: describe what would change without performing it. Default false — pass true to preview. | |
| device_id | No | Target device ID | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |