Install APK
app_installInstall or reinstall an APK on an Android device while keeping app data. Provide the APK path and optional device serial; locate built APKs with project_apks.
Instructions
Install (or reinstall, keeping data) an APK on a device. Use project_apks to find built APKs.
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": {
"apkPath": "<apkPath>"
},
"name": "app_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial from devices_list. Optional when exactly one device is online. | |
| apkPath | Yes | Absolute path to the .apk on this machine | |
| allowDowngrade | No | ||
| grantPermissions | No | Grant all runtime permissions (-g) |