set_volume
Set an iOS device's media volume to a specific level (0-1) by simulating volume button presses and verifying each step on the system volume indicator. Returns the final level.
Instructions
Set the device's media volume by pressing the volume buttons toward the level, verifying each step on the system volume indicator. iOS volume has 16 steps, so levels round to the nearest 1/16. Returns the final level.
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": "set_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | 0 (mute) to 1 (max) | |
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. |