Start Adb Activity
start_adb_activityStarts an Android activity on a specified device using adb am start -W, accepting action, optional data URI/component and typed extras, and retains the full wait report to verify success.
Instructions
Start an intent with am start -W: one action, optional data URI, optional explicit component, and up to 16 typed extras (string, boolean, int, long, float). A device-mutating tool; the full wait report determines success, with failed-attempt facts and raw output retained.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "android.intent.action.VIEW",
"serial": "emulator-5554",
"data_uri": "https://example.com/path"
},
"name": "start_adb_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Intent action to start | |
| extras | No | Typed intent extras (--es/--ez/--ei/--el/--ef) | |
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| data_uri | No | Intent data URI (-d) | |
| component | No | Explicit component to start (-n) |