Read View
tb_read_viewGet a readable Markdown view of a web page by URL or active tab for scope checking, with options for token budget, main content only, and domain restrictions.
Instructions
Return a readable Markdown view of a target or opened daemon tab for scope checking. In a session, omit target to use the active opened tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | The URL or target to convert into a readable view. Required for stateless reads; optional when sessionId points at an opened active tab. | |
| browser | No | When true, use the browser-backed acquisition path for this operation. | |
| budget | No | Token budget for snapshot and semantic processing. Default is 512. | |
| mainOnly | No | When true, return only the page's main content in the read view. | |
| sourceRisk | No | The source risk label to attach to the result or citation. | |
| sourceLabel | No | The human-readable source label to attach to the result or citation. | |
| allowDomains | No | Restrict the operation to this list of allowed domains. | |
| sessionId | No | The browser session to use for this operation. | |
| tabId | No | The specific tab to use inside the session. If omitted, the active tab is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceUrl | No | ||
| sourceTitle | No | ||
| markdownText | No | ||
| approxTokens | No | ||
| charCount | No | ||
| lineCount | No | ||
| mainOnly | No | ||
| mainContentQuality | No | ||
| mainContentReason | No | ||
| mainContentHint | No | ||
| refIndex | No | ||
| sessionState | No | ||
| sessionId | No | ||
| tabId | No | ||
| diagnostics | No | ||
| result | No |