install_app
Install an APK file from your computer onto a connected Android device or emulator, with options to reinstall and keep data or allow downgrades.
Instructions
Install an APK from the host machine onto the connected 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": "install_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Specific device serial number | |
| apkPath | Yes | Absolute file path to the APK file on the host machine | |
| reinstall | No | Reinstall and keep existing app data (-r flag) | |
| allowDowngrade | No | Allow version code downgrade (-d flag) |