android_install_apk
Install an app on the Android device from an APK or split bundle (XAPK/APKS — how most large modern apps ship). Provide apk_url (an https link the device downloads itself — preferred, and the only workable option for real apps) or, for tiny payloads, as apk_base64. Max 300MB. Large apps can take several minutes; if this call times out the install keeps running on the device — verify with the app-list tool instead of re-installing. Use reinstall=true to uninstall then install (for signature changes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apk_url | No | https URL of the APK — the server downloads it (preferred; the only practical option for real-sized apps). | |
| package | No | Expected package name (for verification) | |
| reinstall | No | Uninstall first if package exists (for different signature). OMIT for a normal install (default false). | |
| apk_base64 | No | APK as base64-encoded bytes. Only usable for tiny payloads (the whole blob is an LLM tool argument); prefer apk_url. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| channel_account_id | No | Android device channel_account ID. Omit when the workspace has a single Android device; REQUIRED when it has more than one (e.g. WhatsApp + LINE), else the call is rejected as ambiguous. |