adb_install
Install an APK on a connected Android device using its full local file path, with options to replace an existing app or allow a version downgrade.
Instructions
Install an APK on the device. Provide the full local path to the APK file.
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 |
|---|---|---|---|
| device | No | Device serial | |
| apkPath | Yes | Local filesystem path to the APK file | |
| replace | No | Replace existing app (-r flag) | |
| downgrade | No | Allow version downgrade (-d flag) |