Install APK
apk_installInstall an APK file on a connected Android device or emulator; optionally target a device, reinstall while keeping data, or grant runtime permissions automatically.
Instructions
Install an APK file on a connected Android device or emulator
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": "apk_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apkPath | Yes | Absolute path to the APK file | |
| deviceId | No | Target device serial. Omit if only one device is connected | |
| reinstall | No | Reinstall the app, keeping its data | |
| grantPermissions | No | Automatically grant all runtime permissions |