long_click
Perform a long click at a specified coordinate on the screen. Useful for invoking context menus or activating long-press actions on HarmonyOS devices.
Instructions
long click the given coordinate Args: center: a string like "(x, y)", sample: "(227, 168)"
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": {
"center": "<center>"
},
"name": "long_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |