long_press
Simulate long press gestures at specified coordinates on Android device screens for extended touch interactions in automated testing and control scenarios.
Instructions
Long press on specific coordinates on the Android screen.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | ||
| x | Yes | ||
| y | Yes |