install_apk
Install an APK from the host filesystem onto a connected Android device or emulator, using optional device serial, replacement, and permission-granting settings.
Instructions
Install an APK from the host filesystem onto 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": {
"apk_path": "<apk_path>"
},
"name": "install_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| replace | No | ||
| apk_path | Yes | ||
| grant_permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||