Stop a debug session
stop_appTerminate an Electron app session by closing CDP connections and killing the underlying process if launched via MCP. Safe for cleanup flows.
Instructions
Close every CDP client tied to the session and, if the MCP launched the app, kill the underlying process. A no-op for already-stopped sessions, so safe to call unconditionally in cleanup flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id from `launch_app`/`list_apps`. | |
| keepSession | No | If true, don't delete the session record — its logs remain readable via `get_main_logs`/etc. Defaults false. |