agent-browser-bridge
v2.0.0Live multi-tab, multi-profile Chrome DevTools MCP bridge for AI agents (Antigravity, Claude, Cursor, Windsurf)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_list_profiles
List all currently connected browser profiles (e.g. Work, Personal, Brave, Edge), their IDs, names, and active status.
browser_list_tabs
List all open tabs across browser windows in the profile, including tabId, URL, title, active state, and debugger attachment.
| Parameter | Type | Description |
|---|---|---|
profile | string | Optional profile name or ID |
browser_switch_tab
Focus and switch to a specific tab by tabId, bringing its browser window to the foreground.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The ID of the tab to activate |
profile | string | Optional profile name or ID |
browser_new_tab
Open a new tab with an optional URL.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Whether to make the new tab active (default true) |
profile | string | Optional profile name or ID |
url | string | URL to open (defaults to 'about:blank') |
browser_close_tab
Close a specific tab by tabId.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The ID of the tab to close |
profile | string | Optional profile name or ID |
browser_reload
Reload a specific tab with optional cache bypass.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The ID of the tab to reload |
ignoreCache | boolean | Bypass browser cache (hard reload) |
profile | string | Optional profile name or ID |
browser_read_all_tabs
Extract visible text and metadata from every open tab in the browser profile at once.
| Parameter | Type | Description |
|---|---|---|
maxLengthPerTab | number | Max characters to extract per tab (default 4000) |
profile | string | Optional profile name or ID |
browser_get_interactive_snapshot
Assigns data-agent-ref IDs (ref_1, ref_2...) to all visible interactive elements in a tab and returns a structured map of clickable buttons, inputs, links, and coordinates.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to inspect |
profile | string | Optional profile name or ID |
browser_take_snapshot
Take an accessibility (a11y) tree text snapshot of the page listing elements, roles, names, and node IDs.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to snapshot |
profile | string | Optional profile name or ID |
verbose | boolean | Include full detailed a11y tree |
browser_get_css_styles
Inspect computed CSS styles for an element specified by ref (e.g. 'ref_4') or CSS selector.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId where the element is located |
target * | string | Element ref (e.g. 'ref_5') or CSS selector (e.g. 'button.primary') |
profile | string | Optional profile name or ID |
properties | array | Specific CSS properties to retrieve (defaults to essential visual styles) |
browser_wait_for
Wait for specific text or a CSS selector to appear on the page.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to watch |
profile | string | Optional profile name or ID |
selector | string | CSS selector to wait for |
text | One or more texts to wait for | |
timeout | number | Timeout in ms (default 10000ms) |
browser_act_on_ref
Click or type into a specific data-agent-ref element from browser_get_interactive_snapshot using trusted CDP hardware events and rendering a glowing visual action overlay.
| Parameter | Type | Description |
|---|---|---|
actionType * | string | Action to perform: 'click' or 'type' |
ref * | string | The ref ID, e.g. 'ref_14' |
tabId * | number | The tabId where the element is located |
clearFirst | boolean | Clear existing input value before typing |
pressEnter | boolean | Press Enter key after typing |
profile | string | Optional profile name or ID |
text | string | Text to type if actionType is 'type' |
browser_click
Click an element (by ref, CSS selector, or coordinates) using trusted hardware CDP events.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
button | string | Mouse button (default 'left') |
clickCount | number | Click count: 1 for single click, 2 for double click |
profile | string | Optional profile name or ID |
target | string | Ref (e.g. 'ref_3') or CSS selector (e.g. '#submit') |
x | number | Explicit X coordinate |
y | number | Explicit Y coordinate |
browser_hover
Hover over an element (by ref, selector, or coordinates) triggering mouse hover states.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
target | string | Ref (e.g. 'ref_2') or CSS selector |
x | number | Explicit X coordinate |
y | number | Explicit Y coordinate |
browser_drag
Drag an element or coordinate onto another element or coordinate.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
fromTarget | string | Source ref or selector |
fromX | number | Source X coordinate |
fromY | number | Source Y coordinate |
profile | string | Optional profile name or ID |
toTarget | string | Destination ref or selector |
toX | number | Destination X coordinate |
toY | number | Destination Y coordinate |
browser_fill
Fill an input or textarea element with text (focuses, clears existing text, and types value).
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
target * | string | Ref (e.g. 'ref_4') or CSS selector (e.g. 'input[name="email"]') |
value * | string | Text value to fill into the input |
profile | string | Optional profile name or ID |
browser_fill_form
Fill multiple form inputs at once given a key-value mapping of targets to values.
| Parameter | Type | Description |
|---|---|---|
fields * | object | Object of { selector_or_ref: value }, e.g. { '#username': 'admin', '#password': 'pass' } |
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_press_key
Press a keyboard key or shortcut (e.g. 'Enter', 'Tab', 'Escape', 'Backspace', 'ArrowDown').
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to press, e.g. 'Enter', 'Tab', 'Escape', 'a' |
tabId * | number | The tabId |
code | string | Optional key code, e.g. 'Enter', 'KeyA' |
profile | string | Optional profile name or ID |
browser_type_text
Type text into the currently focused element or into a specific target element.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
text * | string | Text string to type |
profile | string | Optional profile name or ID |
target | string | Optional ref or selector to focus before typing |
browser_upload_file
Upload local file(s) into a file input element.
| Parameter | Type | Description |
|---|---|---|
filePaths * | Absolute local path(s) to the file(s) to upload | |
tabId * | number | The tabId |
target * | string | Ref (e.g. 'ref_8') or selector for the file input element |
profile | string | Optional profile name or ID |
browser_handle_dialog
Accept or dismiss a JavaScript alert, confirm, prompt, or beforeunload dialog.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to take on dialog: 'accept' or 'dismiss' |
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
promptText | string | Optional text to enter into a prompt dialog |
browser_resize_page
Set viewport width, height, deviceScaleFactor, and mobile emulation.
| Parameter | Type | Description |
|---|---|---|
height * | number | Viewport height in pixels (e.g. 800, 844) |
tabId * | number | The tabId |
width * | number | Viewport width in pixels (e.g. 1280, 390) |
deviceScaleFactor | number | Device scale factor (e.g. 1, 2) |
mobile | boolean | Whether to emulate mobile screen |
profile | string | Optional profile name or ID |
browser_emulate
Emulate color scheme, CPU throttling, network conditions, geolocation, or user agent.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
colorScheme | string | Emulate dark or light color scheme |
cpuThrottlingRate | number | CPU slowdown factor (1 to 20, 1 disables) |
geolocation | string | Geolocation as 'latitude,longitude', e.g. '37.7749,-122.4194' |
networkConditions | string | Network throttling profile |
profile | string | Optional profile name or ID |
userAgent | string | Custom user agent override string |
browser_list_network_requests
List recorded network requests for a tab (status, method, url, resourceType, mimeType, timestamp).
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to inspect |
profile | string | Optional profile name or ID |
browser_get_network_request
Get full details and response body of a specific network request by requestId.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The requestId from network request list |
tabId * | number | The tabId where the request was made |
profile | string | Optional profile name or ID |
browser_get_network_body
Fetch the raw response body of a specific network requestId obtained from browser_get_telemetry or network requests.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The requestId |
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_get_cookies
Retrieve all cookies for the current tab's active URL.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_set_cookie
Set a cookie on the active tab's domain.
| Parameter | Type | Description |
|---|---|---|
name * | string | Cookie name |
tabId * | number | The tabId |
value * | string | Cookie value |
domain | string | Cookie domain |
httpOnly | boolean | HttpOnly cookie flag (default false) |
path | string | Cookie path (defaults to '/') |
profile | string | Optional profile name or ID |
secure | boolean | Secure cookie flag (default true) |
url | string | Target URL (defaults to tab URL) |
browser_clear_cookies
Clear all cookies for the browser profile.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_storage
Inspect or manipulate localStorage or sessionStorage in a tab.
| Parameter | Type | Description |
|---|---|---|
operation * | string | Storage operation to perform |
tabId * | number | The tabId |
key | string | Storage key name |
profile | string | Optional profile name or ID |
storageType | string | Type of storage (default 'localStorage') |
value | string | Value to set (if operation is 'set') |
browser_list_console_messages
List captured console logs, warnings, errors, and uncaught exceptions with timestamps and stack traces.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to inspect |
level | string | Filter by message level |
profile | string | Optional profile name or ID |
browser_get_telemetry
Attach CDP debugger to a tab and retrieve buffered console logs, uncaught exceptions, dialogs, and recorded network requests.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to inspect |
clearAfterRead | boolean | Clear buffered telemetry after reading (default false) |
profile | string | Optional profile name or ID |
browser_screenshot
Capture a PNG screenshot of a specific tab.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to screenshot |
profile | string | Optional profile name or ID |
browser_take_heapsnapshot
Take a V8 heap snapshot for memory leak analysis.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_performance_trace
Start or stop a Chrome performance timeline trace.
| Parameter | Type | Description |
|---|---|---|
action * | string | Trace action: 'start' or 'stop' |
tabId * | number | The tabId |
profile | string | Optional profile name or ID |
browser_performance_analyze_insight
Extract Core Web Vitals and navigation performance timings (TTFB, FCP, DOMContentLoaded, LoadTime).
| Parameter | Type | Description |
|---|---|---|
tabId * | number | The tabId to analyze |
profile | string | Optional profile name or ID |
browser_eval_js
Execute arbitrary JavaScript or DOM inspection inside any tab via CDP Runtime.evaluate.
| Parameter | Type | Description |
|---|---|---|
expression * | string | JavaScript code or expression to evaluate |
tabId * | number | The tabId to run code in |
profile | string | Optional profile name or ID |
browser_raw_cdp
Execute any raw Chrome DevTools Protocol (CDP) method on a tab (e.g. DOM.getDocument, Input.dispatchMouseEvent, Network.getCookies).
| Parameter | Type | Description |
|---|---|---|
method * | string | CDP method name, e.g. 'DOM.getDocument' or 'Network.getCookies' |
tabId * | number | The tabId to control |
commandParams | object | Optional parameters object for the CDP command |
profile | string | Optional profile name or ID |