Upload App for Virtual Device
app_upload_virtual_deviceUploads an app to TestMu AI for emulator (APK) or simulator (IPA) testing. Each call creates a new app in the account and returns its app id. Pass appUrl, a public https URL without credentials; filePath works only when the server runs locally. With storage url (the default for appUrl) TestMu AI keeps only the link, so the URL must still work when tests run; with storage file it keeps a copy of the app. visibility individual (default) keeps the app to you; team shares it with your organization. For real devices use app_upload_real_device.
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": {
"name": "<name>"
},
"name": "app_upload_virtual_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the uploaded app | |
| appUrl | No | Public https URL of the APK or IPA (the only option on the hosted server). Private, loopback, link-local and internal hosts and URLs with a user name or password are refused. | |
| storage | No | url (default with appUrl): keep only the link; file: keep a copy of the app | |
| filePath | No | Absolute local path to the APK or IPA. Works only when the server runs locally; the hosted server refuses it. | |
| custom_id | No | Your own identifier for the app (optional) | |
| visibility | No | individual (default): only you see the app; team: shared with your organization |