Install Android APK
adb_installInstall an APK from the local workspace onto an Android device or emulator with ADB, optionally replacing existing apps and granting permissions.
Instructions
Install an APK from the local workspace using adb install.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| apkPath | Yes | ||
| replace | No | ||
| deviceId | No | ||
| timeoutMs | No | ||
| deviceName | No | ||
| grantPermissions | No |