app_install
Install an APK file on an Android device from your host machine, simplifying application deployment.
Instructions
Install an APK file on the device from the host machine.
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": "app_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number | |
| apkPath | Yes | Absolute path to the APK file on the host machine |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Install result or error output from adb | |
| success | Yes | Whether the APK installed successfully |