Skip to main content
List, open, close, or activate tabs across all windows. Select a listed tabId to target a shared tab. Without tabId, tools use the agent’s own usable tab or the only usable tab; multiple shared tabs require an explicit choice. Open a new tab only when the task needs a separate page. Never launch a separate browser just to get a tab. Dev-mode tabs are always usable.

Parameters

enum
default:"list"
required
One of: list, new, close, activate.
integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
string
URL for new
enum
Where to open a new tab; default dev if running, else extension One of: extension, dev.
string
Developer context for new
boolean
Default true. false lists every tab including unshared ones.

Example

List usable tabs
Open a page in the user's window