safari_switch_tab
Switch to a Safari tab by its index (starting from 1) to make all subsequent automation commands target that tab. Re-anchor if commands apply to the wrong tab.
Instructions
Switch to a specific tab by index (use safari_list_tabs to see indices). All subsequent commands (click, fill, evaluate, screenshot, scroll) will target this tab. If commands seem to run on the wrong tab, call switch_tab again to re-anchor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Tab index (starting from 1) |