computer_click
Click a mobile device screen at absolute pixel coordinates, specifying the button type (left, right, middle) and target device by serial number.
Instructions
Click at absolute screen coordinates.
Args: serialno: The computer device serialno, from list_devices. x: X coordinate in screen pixels. y: Y coordinate in screen pixels. button: "left", "right" or "middle". Omit it for the server default (left).
Returns: JSON response from the API.
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": {
"serialno": "<serialno>",
"x": "<x>",
"y": "<y>"
},
"name": "computer_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| button | No | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |