tap_screen
Simulate a touchscreen tap at specified pixel or normalized X/Y coordinates to interact with Garmin simulator apps, with optional outcome assertions and post-tap screenshot capture.
Instructions
Tap the watch touchscreen at specific display coordinates (X, Y) or normalized coordinates (0.0..1.0).
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": {
"x": "<x>",
"y": "<y>"
},
"name": "tap_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate: display pixels (0..width) or normalized ratio (0.0..1.0 if normalized: true) | |
| y | Yes | Y coordinate: display pixels (0..height) or normalized ratio (0.0..1.0 if normalized: true) | |
| 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 | |
| wait_ms | No | Milliseconds to wait after tap before capturing screenshot (default: 350) | |
| 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) | |
| normalized | No | Whether coordinates are normalized 0.0 to 1.0 (default: false) | |
| capture_after | No | Whether to capture a screenshot after tapping (default: true) |