weboperator
v1.6.0Hands your live Chrome tab to any MCP client — snapshot, navigate, click, type, extract.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_snapshot
Capture the structured accessibility tree and numbered interactive elements (buttons, inputs, links) from a browser tab (the focused one unless tabId is given).
| Parameter | Type | Description |
|---|---|---|
allElements | boolean | |
diff | boolean | |
includeImages | boolean | |
maxNodes | integer | |
minImageArea | integer | |
query | string | |
refPrefix | string | |
roles | array | |
shadow | boolean | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
text | boolean |
browser_click
Click an element on the webpage by its snapshot ref (e.g. "@e12"), numeric index, or CSS selector.
| Parameter | Type | Description |
|---|---|---|
button | string | |
clickCount | integer | |
index | number | The numeric index of the interactive element from the snapshot (mapped to ref "@e<index>"). |
modifiers | string | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
selector | string | Alternative CSS selector of the element to click. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_type
Type text into an input field by snapshot ref, element index or CSS selector.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to type into the field. |
clear | boolean | true replaces the field content, false appends to it (default: replace). |
index | number | The numeric index of the input element from the snapshot (mapped to ref "@e<index>"). |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
selector | string | Alternative CSS selector of the input element. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_press
Press a keyboard key on a webpage (e.g. "Enter", "Tab", "Escape", "ArrowDown", "Backspace").
| Parameter | Type | Description |
|---|---|---|
key * | string | The key to press (e.g. "Enter", "Tab", "Escape"). |
modifiers | string | Optional key modifiers, e.g. "Control+Shift". |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_scroll
Scroll a page or an inner scroll container. Pass ref to scroll a specific container (e.g. a virtualized message list) instead of the window.
| Parameter | Type | Description |
|---|---|---|
amount | number | Number of pixels to scroll (default: 500). |
block | string | |
direction | string | Direction to scroll (default: "down"). |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
to | string |
browser_screenshot
Capture a visual PNG screenshot of a browser tab (the focused one unless tabId is given).
| Parameter | Type | Description |
|---|---|---|
format | string | |
fullPage | boolean | |
quality | integer | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
saveTo | string | Absolute local output path. Existing files are not overwritten. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_extract
Extract text or structured data from the webpage according to an extraction instruction.
| Parameter | Type | Description |
|---|---|---|
collectionId | string | Returned by the first mode call; pass it to resume the same collection. |
instruction | string | Extraction guidance or prompt (e.g. "Extract all product prices and titles"). |
mode | string | Self-checking collection. "rows" saves list records, follows Next or scrolls the list, rechecks a load that adds nothing, and stops at target or at the total the pager claims. "chunk" reads long text… |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
schema | object | JSON Schema, validated without eval. Unsupported keywords return an explicit error. Extraction uses the configured model. |
selector | string | Optional CSS selector to scope extraction. |
since | integer | Return only rows (or text characters) after this count; pass nextSince from the previous call. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
target | integer | With mode="rows": how many records to collect. Without it, one capture of the current list. |
browser_solve_captcha
Attempt to detect and automatically solve or click Cloudflare Turnstile, reCAPTCHA, hCaptcha, slider puzzle, or visual text challenges in the active tab.
| Parameter | Type | Description |
|---|---|---|
tabId | number | Optional browser tab id to act on instead of the focused tab. |
type | string | Optional captcha type to target (default: auto). |
weboperator_execute_goal
Execute an autonomous browser goal end-to-end using WebOperator multi-step planner.
| Parameter | Type | Description |
|---|---|---|
goal * | string | Natural language goal for the agent to achieve (e.g. "Find cheapest flight from Paris to Rome on Kayak"). |
autoConfirm | boolean | |
startUrl | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
timeoutMs | number | Maximum timeout in milliseconds (default: 120000). |
wait | boolean | false returns taskId immediately; default true. |
browser_eval
Evaluate JavaScript in the page main world. Nonzero frameId targets that Chrome frame when available to CDP.
| Parameter | Type | Description |
|---|---|---|
expression * | string | |
awaitPromise | boolean | |
frameId | integer | |
returnByValue | boolean | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
timeoutMs | integer |
browser_wait
Wait for a condition. urlPattern is a URL substring; network_idle observes fewer than 2 requests for 500ms, with an explicit DOM quiet fallback if CDP is unavailable.
| Parameter | Type | Description |
|---|---|---|
until * | string | |
pollMs | integer | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
selector | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
text | string | |
timeoutMs | integer | |
urlPattern | string | |
visible | boolean |
tabs_list
List browser tabs with ids, titles, URLs and window ids.
tabs_current
Return the focused browser tab id.
tabs_open
Open a browser tab.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
active | boolean | |
windowId | integer |
tabs_activate
Activate a tab and focus its window.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | Optional browser tab id to act on instead of the focused tab. |
tabs_close
Close specified tabs, reporting individual errors.
| Parameter | Type | Description |
|---|---|---|
tabIds * | array |
agent_task_start
Start a browser agent task; returns taskId immediately unless wait=true.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
autoConfirm | boolean | |
startUrl | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
timeoutMs | integer | |
wait | boolean |
agent_task_list
List recent agent tasks.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
agent_task_get
Read a task and its recorded steps.
| Parameter | Type | Description |
|---|---|---|
id * | string |
agent_task_stop
Request cooperative cancellation; an in-flight model call may finish first.
| Parameter | Type | Description |
|---|---|---|
id * | string |
agent_task_confirm
Approve or reject a task pending confirmation.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
allow | boolean | Legacy alias for approve. |
approve | boolean |
agent_task_pause
Request cooperative pause at the next agent checkpoint.
| Parameter | Type | Description |
|---|---|---|
id * | string |
agent_task_resume
Resume a cooperatively paused task.
| Parameter | Type | Description |
|---|---|---|
id * | string |
agent_task_wait
Wait for a task to finish, or return its current state at timeout.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
timeoutMs | integer |
browser_image
Read an image by snapshot ref, returning its bytes as MCP image content.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_select_option
Select an option in a native HTML select by value or label.
| Parameter | Type | Description |
|---|---|---|
value * | string | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
selector | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_handle_dialog
Call action=status before triggering alert/confirm/prompt to start observing dialogs. Then explicitly accept or dismiss a pending dialog. Does not handle native file pickers or browser security prompts.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
promptText | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
network_list
Start persistent capture for this tab and list captured XHR/fetch/document requests. Call before navigation to include initial traffic.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
sinceMs | integer | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
type | string | |
urlPattern | string |
network_get
Read a captured response body (up to 5 MiB); request ids are scoped to tabId.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
network_clear
Start capture and clear the tab request buffer.
| Parameter | Type | Description |
|---|---|---|
tabId | number | Optional browser tab id to act on instead of the focused tab. |
console_list
Start persistent console/error capture and list recent entries. Earlier page console history may be unavailable.
| Parameter | Type | Description |
|---|---|---|
level | string | |
limit | integer | |
sinceMs | integer | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
cookies_get
Read cookies via the existing debugger permission, filtered by domain or URL.
| Parameter | Type | Description |
|---|---|---|
domain | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
url | string |
cookies_set
Set a cookie for an HTTP(S) URL via the existing debugger permission.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
url * | string | |
value * | string | |
domain | string | |
expires | number | |
httpOnly | boolean | |
path | string | |
sameSite | string | |
secure | boolean | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
storage_get
Read local/session storage from the page origin.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
keys | array | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
storage_set
Write string values to page local/session storage.
| Parameter | Type | Description |
|---|---|---|
items * | object | |
kind * | string | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_upload_file
Select an existing local file in a file input. Native host validates an absolute regular-file path and size <=40 MiB.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
ref * | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_download
Download a URL and wait for completion.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
filename | string | |
saveAs | boolean | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
timeoutMs | integer |
downloads_list
List browser downloads.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
sinceMs | integer | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
downloads_read
Read a completed local download by Chrome download id, without refetching its URL.
| Parameter | Type | Description |
|---|---|---|
downloadId * | integer | |
maxBytes | integer | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_read
Read a page subtree as text or Markdown, preserving headings and links.
| Parameter | Type | Description |
|---|---|---|
format | string | |
maxChars | integer | |
ref | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
selector | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_hover
Move a real mouse pointer to an element, triggering hover menus.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
browser_drag
Drag between two snapshot refs using real mouse events.
| Parameter | Type | Description |
|---|---|---|
from * | string | |
to * | string | |
modifiers | string | |
steps | integer | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |
clipboard_read
Read system clipboard text (native host on macOS; page context elsewhere).
| Parameter | Type | Description |
|---|---|---|
tabId | number | Optional browser tab id to act on instead of the focused tab. |
clipboard_write
Write system clipboard text (native host on macOS; page context elsewhere).
| Parameter | Type | Description |
|---|---|---|
text * | string | |
tabId | number | Optional browser tab id to act on instead of the focused tab. |