App lifecycle control
qa_app_controlControl app lifecycle during mobile QA: launch, foreground, background, force-stop, restart, or reset data with consent-gated destructive actions.
Instructions
Control the app under test: launch, foreground, background, force_stop, restart (force_stop + launch, for persistence checks), clear_data and fresh_start (wipe data: destructive, consent-gated; RN/Expo also need acknowledgeBundleRisk).
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": {
"sessionId": "<sessionId>",
"action": "<action>"
},
"name": "qa_app_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| approve | No | ||
| consentId | No | ||
| sessionId | Yes | ||
| acknowledgeBundleRisk | No | Accept that wiping an RN/Expo debug build may leave it unable to load its bundle. |