Long Press
long_pressPress and hold at specified coordinates or a UI element on an Android device for a defined duration, enabling long-press interactions like context menus or item selection.
Instructions
Press and hold at (x, y) or a mark.
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 | ||
| device | No | ||
| som_id | No | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||