switch_tab
Manage browser tabs by opening, switching, or closing them via tab ID or number. Use when the active tab must stay untouched; open a new tab instead of navigating.
Instructions
Open a new tab, switch to a tab by ID (from virtual_desk), or close one. Prefer 'open' over navigate when the user's active tab must stay untouched. Refs from the previous tab are invalid afterwards — call view_page before acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab ID or 1-based number (switch/close; close: active tab) | |
| url | No | URL for a new tab (open); default about:blank | |
| action | No | open | switch | close | switch |