swipe_screen
Simulates a touch drag gesture on the watch display in a cardinal direction, respecting device gesture thresholds, to navigate pages or test gesture-driven UI.
Instructions
Synthesize a touch drag gesture on the watch display in a cardinal direction ('up', 'down', 'left', 'right'), adhering to device gesture thresholds.
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": {
"direction": "<direction>"
},
"name": "swipe_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 swipe before capturing screenshot (default: 350) | |
| device_id | No | Device profile ID (defaults to active device) | |
| direction | Yes | Direction of swipe gesture: 'up' (next page), 'down' (previous page), 'right' (back/exit), 'left' | |
| 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 swiping (default: true) |