Long-press + screenshot + ask
long_press_and_askLong-press at specified coordinates, take a screenshot, and ask a question about the resulting UI state. Use it to validate long-press behaviors in OpenGL-rendered apps without accessibility trees.
Instructions
Long-press at (x, y) for durationMs, wait briefly, take a screenshot, and ask a short question about the result.
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>",
"question": "<question>"
},
"name": "long_press_and_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| waitMs | No | Milliseconds to wait after releasing before screenshotting (default 500). | |
| question | Yes | ||
| durationMs | No | Hold duration in ms (default 800). |