tab_read
Read the current browser page as a compact outline of headings, visible text, and interactive controls with refs for clicking, typing, or filling forms.
Instructions
Read a page in the user's own browser as a compact outline instead of HTML: headings, visible text, and every visible control on its own line with a ref, role, name and state, e.g. [12] textbox "Email" value="" required or [13] button "Sign in". Open dialogs come first. Pass those refs to tab_click, tab_type, tab_fill, tab_select_option and tab_scroll; to find one control on a long page, tab_find is cheaper. Reading does not move the mouse or switch tabs. Defaults to what is on screen in the active tab; use scope "page" for the whole page, and tab_screenshot when the look of the page matters, or when the outline leaves you unsure what the user sees (a dialog, a canvas, a page that changed unexpectedly).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tab_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Read only one part of the page, whole: the ref of a heading reads the section it titles, the ref of a dialog the dialog, the ref of a control what is inside it. Ignores scope. | |
| scope | No | viewport reads only what is on screen now, as the user sees it; page reads the whole page. Defaults to viewport. | |
| tabId | No | Tab id from tab_list or tab_read. Defaults to the active tab of the browser window the user used last. |