close_tab
Close a browser tab by matching its URL or title, preserving current focus; uses index-based fallback if needed.
Instructions
Close a tab by URL/title match via CDP (no focus change). Falls back to IPC index-based close.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab to close by URL or title substring (e.g. 'github.com'). Uses CDP. | |
| index | No | Tab index (1-based). IPC fallback — will briefly change focus. |