Skip to content

Function: renderTabRecord()

renderTabRecord(tab, indent?): string

Defined in: aiui-lowering-pipeline/src/render.ts:199

The canonical <tab> element — ONE rendering for TabRecord everywhere a tab is described (selection metadata, navigation/tab-switch boundaries, and the channel's context preamble): full URL first (the agent's list_pages matching key), then whatever else the producer knew. The attribute vocabulary is fixed here and taught once in the MCP server's instructions; every id is a correlation hint, never the DevTools MCP's own pageId.

Parameters

tab

TabRecord

indent?

string = ""

Returns

string