setVolume
Adjust Spotify playback volume to a specific percentage between 0 and 100. Requires Spotify Premium account and device ID for targeted control.
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 |
|---|---|---|---|
| volumePercent | Yes | The volume to set (0-100) | |
| deviceId | No | The Spotify device ID to set volume on |