android_install
Verify the APK package name against the safety layer, then install it with adb install -r; optionally grant permissions.
Instructions
Verify APK packageName against Safety Layer and install with adb install -r.
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": "android_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apk_path | Yes | ||
| grant_permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| output | No | ||
| apk_path | No | ||
| package_name | No |