adb_install_app
Install an APK file on an Android device using ADB, with options to reinstall existing apps and grant runtime permissions automatically.
Instructions
Install an APK file on the device
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": "adb_install_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apkPath | Yes | Path to the APK file | |
| deviceId | No | Target device ID (optional) | |
| reinstall | No | Reinstall the app if it exists | |
| grantPermissions | No | Grant all runtime permissions |