android_install_apk
ActiveTool of io.github.saloprj/dialogbrain
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).
Parameters schema
{
"type": "object",
"required": [],
"properties": {
"apk_url": {
"type": "string",
"description": "https URL of the APK — the server downloads it (preferred; the only practical option for real-sized apps)."
},
"package": {
"type": "string",
"description": "Expected package name (for verification)"
},
"reinstall": {
"type": "boolean",
"description": "Uninstall first if package exists (for different signature). OMIT for a normal install (default false)."
},
"apk_base64": {
"type": "string",
"description": "APK as base64-encoded bytes. Only usable for tiny payloads (the whole blob is an LLM tool argument); prefer apk_url."
},
"channel_account_id": {
"type": "integer",
"description": "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."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries