force_stop
Stop a running mobile app by package name to reset its state and ensure a clean baseline for UI test execution. Accepts an optional device ID to target a specific simulator.
Instructions
Force stop a running app
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The app package name to stop | |
| device_id | No | Target device ID. If omitted, uses the default device. |