mobile_stop_app
Stop a specified app on an Android, HarmonyOS, or iOS device by providing the device serial number and app identifier. Returns API confirmation.
Instructions
Stop an app on the device.
Args: serialno: The mobile device serialno, from list_devices. app_name: Package name (Android/HarmonyOS) or bundle ID (iOS).
Returns: JSON response from the API.
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_name": "<app_name>"
},
"name": "mobile_stop_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |