pt_press_button
Test hardware button interactions on iOS simulators by simulating presses for Home, Lock, Siri, and Apple Pay buttons.
Instructions
Press a hardware button on the simulator (Home, Lock, Siri, Apple Pay).
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": "pt_press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Simulator UDID (uses active device if not specified) | |
| button | Yes | The hardware button to press |