install_apk
Install APK files on Android devices by providing a local file path or public URL. Specify the target device ID to deploy applications for testing.
Instructions
Install an APK file into the Gbox Android box.
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": {
"boxId": "<boxId>"
},
"name": "install_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxId | Yes | ID of the box | |
| apk | No | Local file path or HTTP(S) URL of the APK to install, for example: '/Users/jack/abc.apk', if local file provided, Gbox SDK will upload it to the box and install it. if apk is a url, Gbox SDK will download it to the box and install it(please make sure the url is public internet accessible). |