terminate_app
Force-quit a running app by bundle ID without uninstalling it or deleting its data. Unsaved app state is lost; use launch_app to restart it.
Instructions
Force-quit a running app by bundle ID, without removing it or its data. Any unsaved state in the app is lost. Use launch_app to restart an app (it quits the old copy itself), and press_button home to leave an app without quitting it.
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": {
"bundleId": "<bundleId>"
},
"name": "terminate_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| bundleId | Yes | App bundle ID, e.g. com.example.MyApp (see list_apps) |