android_act
Execute safety-checked Android UI and lifecycle actions (tap, type, swipe, back, launch, force-stop) and invalidate stale @eN references.
Instructions
Execute a safety-checked UI or lifecycle action and invalidate @eN refs.
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": {
"action": "<action>"
},
"name": "android_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| text | No | ||
| action | Yes | ||
| package | No | ||
| swipe_coords | No | ||
| allow_top_bar | No | ||
| allow_system_dialog | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| executed_action | No | ||
| current_focus_package | No |