mobile_install_app
Install an app package on a mobile device using a path on the agent host; returns an install ID to check installation status.
Instructions
Install a package on the device.
The path is resolved on the agent host that owns the device, not locally. The install runs as a background task: poll it with mobile_install_status.
Args: serialno: The mobile device serialno, from list_devices. app_path: Package path on the agent host, e.g. /tmp/app.apk.
Returns: JSON envelope whose data carries the install id.
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": {
"serialno": "<serialno>",
"app_path": "<app_path>"
},
"name": "mobile_install_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_path | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |