Skip to content

Interface: BrowserTab

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BrowserTab

Defined in: src/types/browser-agent.ts:37

One tab of the run’s task tab group, as the person’s browser reports it.

const tab: BrowserTab = { tabId: 41, current: true, url: 'https://example.com' };

optional current?: boolean

Defined in: src/types/browser-agent.ts:41

Whether this is the tab the agent is working in now.


optional openedByAgent?: boolean

Defined in: src/types/browser-agent.ts:43

Whether the agent opened this tab during the run; only such tabs may be closed.


tabId: number

Defined in: src/types/browser-agent.ts:39

The browser’s id for the tab; tab actions (switchTab, closeTab) name it.


optional title?: string

Defined in: src/types/browser-agent.ts:45

The tab’s title (page-controlled).


optional url?: string

Defined in: src/types/browser-agent.ts:47

The tab’s address (page-controlled after redirects).