long_press
Press and hold an Android UI element by index or screen coordinates for a specified duration to trigger context menus or alternative actions.
Instructions
Long-press an element number (index) or a point (x, y in screenshot pixels).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "long_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ms | No | ||
| index | No |