setVolume
Adjust Spotify playback volume to a specified percentage from 0 to 100, requiring a Premium account.
Instructions
Set the playback volume to a specific percentage (0-100). Requires Spotify Premium.
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": {
"volumePercent": "<volumePercent>"
},
"name": "setVolume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | The Spotify device ID (auto-selected if omitted) | |
| volumePercent | Yes | The volume to set (0-100) |