Skip to main content

app_install

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Install an app from a local .apk (Android) or .app bundle (iOS).

Changes the device, the app or the session: readOnlyHint is false.

Arguments​

NameTypeRequiredWhat it is
contentstringThe app itself, base64, instead of a path: a .apk, or a .app directory as a .tar.gz. For a daemon on another machine; the CLI and pipe send it from a path.
devicestringDevice serial to target, e.g. "emulator-5554". Omit when only one device is running.
driverstring: uiautomator2, uiautomator, wdaDriver to use: "uiautomator2" (default for Android; fast, installs a server APK on first use), "uiautomator" (Android, installs nothing, slower, cannot type), or "wda" (WebDriverAgent: iOS simulators and iPhones).
namestringWith content: the file's name, such as "app.apk" or "MobiumApp.app.tar.gz".
pathstringLocal path to the .apk or .app.

Examples​

Each is the arguments of a tools/call request; the first is shown whole.

Install an app from a file​

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "app_install",
"arguments": {
"path": "./build/app-debug.apk"
}
}
}