manage_tabs
List, open, switch between, or close browser tabs to control multi-tab browsing during automation. Use list to find tab indexes before switching.
Instructions
List, open, switch between, or close browser tabs.
Use this tool for tab management. Browser navigation within the current tab belongs to navigate and navigate_history.
Args: action: - "list": Return each open tab's index, URL, and title. Call this before switch when you need to determine a tab_index. - "open": Open a new tab, optionally navigating it to url. - "switch": Switch to the tab identified by tab_index from list. - "switch_newest": Switch to the newest tab. - "close_active": Close the currently active tab. url: URL for action="open". tab_index: Index returned by action="list" for action="switch". switch_to: For action="open", switch to the newly created tab when True.
Notes: Clicking a link or performing another browser action may open a new tab. Use action="list" to inspect available tabs before switching by index. Tab indexes should be treated as current-session values and may change after tabs are opened or closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| action | No | list | |
| switch_to | No | ||
| tab_index | No |