browser_stop_task
Stop a running browser task by its task ID, ending it at the current step and optionally closing its tab or browser window. Use this to halt automated browser work without affecting other windows.
Instructions
Stop a running browser_run_task, by the ID that browser_run_task returned. The task stops at the end of its current step and does not resume. Optionally closes the tab or the whole browser window it was using; other windows are left alone. This is not the same as cancelling the task at the protocol level: that is advisory and may be ignored, and it cannot tidy up the browser. To stop a page loading rather than a task, use browser_stop_loading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID returned by browser_run_task. | |
| closeTab | No | Close the tab the task was using after stopping. | |
| closeBrowserWindow | No | Close the browser window the task was using after stopping. |