mobile_gesture_macro
Execute predefined gesture macros for common Android actions: unlock, home, back, recents, notification panel, and quick settings. Control device via ADB with optional screenshot capture.
Instructions
Execute a named gesture macro (e.g., 'unlock', 'home', 'back', 'recents', 'notification_panel', 'quick_settings').
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": {
"macro": "<macro>"
},
"name": "mobile_gesture_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro | Yes | Macro name | |
| serial | No | ADB device serial (optional) | |
| return_screen | No | Capture screen after macro (default: true) |