launch_activity
Starts an explicit Android activity via ADB am start -n, returning command output and the resulting process ID when available.
Instructions
Start an explicit activity, e.g. 'com.app/.MainActivity' (am start -n).
Returns the am output and resulting pid if resolvable.
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": {
"component": "<component>"
},
"name": "launch_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| component | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||