Long Press At
long_press_atSimulate a sustained press at specific (x, y) coordinates on a mobile device to trigger context menus, drag actions, or hold gestures during AI-driven automation.
Instructions
Long press at (x, y) (mobilerun agent action).
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": "long_press_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||