iphone_press_button
Press an iPhone hardware button to return to the home screen or adjust the volume by one step.
Instructions
Press a hardware button of the iPhone.
iPhones have no back button: to go back inside an app, tap its back button (often top left, see
iphone_ui_tree). To leave an app use 'home'; to quit it completely use iphone_close_app; to lock the
screen use iphone_lock.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": {
"button": "<button>"
},
"name": "iphone_press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | 'home' returns to the home screen (leaves the current app running in the background); 'volumeUp' / 'volumeDown' change the volume by one step. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |