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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buttonType | Yes | ||
duration | No | ||
simulatorUuid | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"buttonType": {
"enum": [
"apple-pay",
"home",
"lock",
"side-button",
"siri"
],
"type": "string"
},
"duration": {
"minimum": 0,
"type": "number"
},
"simulatorUuid": {
"format": "uuid",
"type": "string"
}
},
"required": [
"simulatorUuid",
"buttonType"
],
"type": "object"
}