player_volume
Sets a connected desktop or mobile player's volume from 0 to 100, optionally targeting a specific device; sends to the first connected player when no target is given.
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": {
"level": "<level>"
},
"name": "player_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| target | No | windows、android、ios、phone 或 any。不写时发给先接到的那一台。 |