Install APK from URL on device
device_install_apk_urlDownload an .apk from a public https URL (max 100 MB) into AkaPhone storage and install it on a running device, then wait (up to 25 s) until the install succeeds or fails; if still installing, poll with device_list/screenshot or call again later. Runtime permissions are granted. .aab bundles are not supported: build a universal APK first. (The remote server cannot read local files; the stdio server's device_install_apk takes a file path instead.)
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": {
"device_id": "<device_id>",
"url": "<url>"
},
"name": "device_install_apk_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of the .apk (e.g. a CI artifact or GitHub release asset) | |
| device_id | Yes |