button
Simulate hardware button presses on iOS simulators, including apple-pay, home, lock, side-button, and siri, via XcodeBuildMCP for precise testing and control.
Instructions
Press hardware button on iOS simulator. Supported buttons: apple-pay, home, lock, side-button, siri
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": {
"simulatorUuid": "<simulatorUuid>",
"buttonType": "<buttonType>"
},
"name": "button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buttonType | Yes | ||
| duration | No | ||
| simulatorUuid | Yes |