Install app
install_appInstall or update an app. By package name alone (package, Android; Play Store apps too), in one call: from its maker's own APK download, F-Droid, or a mirror's copy signed with the maker's own certificate; if no verified copy exists, the answer says why and names its web version to open in the phone's browser. Or from a public download URL (url): an APK (arm64-v8a, 32-bit armeabi-v7a or universal) or a split bundle (.apks/.xapk; the splits this phone needs are picked), up to 2 GB; on an iPhone or iPad, a .zip of the simulator build's .app folder, which opens once installed. Returns the package name (an iOS bundle id) and version; then open it with act {"type":"open_app","package":…}.
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": {
"phone_id": "<phone_id>"
},
"name": "install_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct https link to the .apk, .apks or .xapk file (iOS: the .zip of the .app) | |
| package | No | Android: the app's package name (e.g. com.spotify.music, the id= in its Play link), instead of url | |
| replace | No | If the installed app is signed with a different key (signature_mismatch, e.g. a rebuild with a new debug key): uninstall it and install this build in one call. Deletes that app's data and logins | |
| build_id | No | iOS: an app this workspace built with build_app (bld_…), instead of url | |
| phone_id | Yes | Phone id, ph_… | |
| grant_permissions | No | Grant all runtime permissions up front instead of answering the dialogs |