switch_tab
Switch browser focus to any open tab by its index to access pages opened by links or popups without re-navigating.
Instructions
Switch the browser focus to a different open tab by its zero-based index. Returns the tab count and a page_state object reflecting the switched-to tab's content (headings, landmarks, links). Use to access pages opened by link targets, popups, or forked sub-agents without re-navigating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Zero-based tab index to switch to (0 = first tab). Use the tab count from previous responses to determine valid indices. |