gesture
Execute single-finger gestures on Android devices to automate touch interactions by defining movement paths and durations for remote control.
Instructions
Execute a single-finger gesture
Args:
duration (int): Duration of gesture in milliseconds
points (list): List of points [{"x": 100, "y": 200}, {"x": 150, "y": 250}, ...]
Returns:
str: Success or error message
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": {
"duration": "<duration>",
"points": "<points>"
},
"name": "gesture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | ||
| points | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |