Interface: TabRecord
Defined in: aiui-lowering-pipeline/src/types.ts:145
The canonical tab record — ONE shape for "which browser tab" everywhere a tab is described: the context preamble, navigation/tab-switch boundaries, and selection metadata all render it as the same <tab …/> element (see renderTabRecord, render.ts), so the agent learns one format (taught in the MCP server's instructions) and recognizes it everywhere.
Every field beyond url is optional — producers fill what they know, the renderer prints what it gets. The ids live in different namespaces and NONE of them is the Chrome DevTools MCP's own pageId: they are correlation hints; the reliable matching keys are url and title (via list_pages).
Properties
aiui?
optionalaiui?:boolean
Defined in: aiui-lowering-pipeline/src/types.ts:151
True when the page carries aiui instrumentation (an aiui app under development).
chromeTabId?
optionalchromeTabId?:number
Defined in: aiui-lowering-pipeline/src/types.ts:155
chrome.tabs.Tab.id — extension-layer tab id.
driverTab?
optionaldriverTab?:number
Defined in: aiui-lowering-pipeline/src/types.ts:163
The plain-page host's CDP driver handle for this tab.
sourceRoot?
optionalsourceRoot?:string
Defined in: aiui-lowering-pipeline/src/types.ts:153
The dev server's source root, when the page is an instrumented aiui app.
tabIndex?
optionaltabIndex?:number
Defined in: aiui-lowering-pipeline/src/types.ts:159
The tab's index in its window (drifts as tabs move; a hint only).
targetId?
optionaltargetId?:string
Defined in: aiui-lowering-pipeline/src/types.ts:161
CDP Target.TargetID.
title?
optionaltitle?:string
Defined in: aiui-lowering-pipeline/src/types.ts:149
The page's document.title.
url
url:
string
Defined in: aiui-lowering-pipeline/src/types.ts:147
The page's full location.href — the primary matching key.
windowId?
optionalwindowId?:number
Defined in: aiui-lowering-pipeline/src/types.ts:157
chrome.tabs.Tab.windowId.