longpress
Press and hold at an x,y coordinate to trigger context menus or other touch-and-hold actions on a connected iPhone.
Instructions
Press and hold at x, y.
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": "longpress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| device | No | board id; only needed with several boards | |
| duration_ms | No | default 1000 |