browser_closeTab
Close a browser tab by target ID, or the active tab when none is specified. Cannot close the last remaining tab; use browser_restart instead.
Instructions
Close a browser tab by targetId. If no targetId provided, closes the active tab. Cannot close the last remaining tab — use browser_restart instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | Target tab ID to close (optional, defaults to active tab) |