spotify_set_volume
Set the playback volume on Spotify to a specified percentage (0-100), optionally targeting a specific device.
Instructions
设置音量,范围0-100
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": {
"volume_percent": "<volume_percent>"
},
"name": "spotify_set_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | 设备ID(可选) | |
| volume_percent | Yes | 音量百分比(0-100) |