press_button_sequence
Run ordered simulator button presses with configurable delays, then capture the final watch screen to verify app behavior.
Instructions
Execute a sequence of button presses in order with configurable delays, capturing the final watch screen.
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": {
"steps": "<steps>"
},
"name": "press_button_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | List of button press steps to execute in sequence | |
| expect | No | Assert the outcome: 'change' fails with E_NO_CHANGE when the screen is identical, 'noop' fails with E_UNEXPECTED_CHANGE when it differs | |
| isolated | No | Launch on a hidden desktop when the simulator is not running (default: true on Windows) | |
| device_id | No | Device profile ID (defaults to active device) | |
| settle_ms | No | Milliseconds to wait before the after-capture used for the receipt (default: 400) | |
| capture_after | No | Whether to capture a screenshot after sequence completes (default: true) |