usable-browser-agent
v0.7.1MCP server and Firefox add-on that let an AI agent drive your real, logged-in browser.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_workflow_recall
Search local workflow memory BEFORE starting any multi-step or repeated browser task. Use this first for changing sites like app stores, admin consoles, checkout flows, dashboards, or any task you may have done before.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum matches to return (1-10, default 5). |
query | string | Task objective or memory id, e.g. 'create a new app in Google Play Console'. |
site | string | Site name or domain, e.g. 'Google Play Console' or 'play.google.com'. |
tags | array | Optional tags to narrow recall. |
browser_workflow_remember
Save the verified reusable workflow after discovering or completing a browser task. Store durable UI labels, decisions, and pitfalls; do not store passwords, one-time codes, or transient [ref=eN] handles.
| Parameter | Type | Description |
|---|---|---|
steps * | array | Ordered durable steps that worked. Use visible labels and page names, not transient refs. |
task * | string | Reusable task objective, e.g. 'Create a new Android app in Google Play Console'. |
confidence | string | Confidence that the workflow is reusable. |
domain | string | Domain, e.g. 'play.google.com'. |
lastVerified | string | Verification date, default today. |
notes | string | Short extra context for future agents. |
outcome | string | What succeeded or what state was reached. |
pitfalls | array | Things that were wrong, surprising, changed, or easy to miss. |
selectors | array | Durable UI cues: visible labels, section names, field names. Avoid transient refs. |
site | string | Human site name, e.g. 'Google Play Console'. |
supersedes | array | Workflow memory ids this record replaces because they are stale or incomplete. |
tags | array | Search tags such as 'android', 'play-store', 'release'. |
title | string | Page title where the workflow starts or was verified. |
url | string | Useful starting URL if stable. |
browser_workflow_forget
Remove a stale, sensitive, or incorrect workflow memory by id. This appends a local tombstone; normal recall will stop returning that memory.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow memory id, e.g. wm_20260604123000_ab12cd34. |
reason | string | Optional short reason for the deletion. |
browser_native_status
Report which OS-level input capabilities are available (trusted keystrokes, native-dialog control, raw clicks) and any setup needed. Check this before relying on the browser_os_* / browser_native_dialog tools.
browser_os_type
Type text using REAL OS keystrokes into whatever currently has focus. Use only when in-page typing fails because the element checks event.isTrusted (some payment fields, editors, games). Focus the field first (e.g. browser_click), then call this. macOS only; needs Accessibility permission.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
modifiers | array |
browser_os_key
Press a REAL OS key (Enter, Tab, Escape, ArrowDown, F1-F8, or a single char), optionally with modifiers. For native UI and isTrusted-checking pages. macOS only.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
modifiers | array |
browser_os_click
Click at absolute screen coordinates with a REAL OS mouse event. Prefer browser_click; use this only for trusted clicks or native chrome. macOS only; raw clicks need `brew install cliclick`.
| Parameter | Type | Description |
|---|---|---|
x * | number | |
y * | number | |
button | string | |
count | number | 2 = double-click. |
browser_os_click_ref
Click a page element by ref with a REAL, OS-trusted mouse event (for elements that ignore synthetic clicks). Computes the element's on-screen position via the connected browser, raises its window, then clicks. On Firefox coordinates are exact; on Chrome they are approximate (refused unless allowApproximate is set) and iframe elements are not supported. macOS only; needs cliclick + Accessibility permission.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
allowApproximate | boolean | Chrome only: opt in to clicking at APPROXIMATE screen coordinates (no exact viewport-origin API exists there). Only set this after visually confirming the window is a normal browser window (no docked… |
button | string | |
count | number |
browser_native_dialog
Inspect or operate a NATIVE browser dialog that no extension can touch — the file picker, print dialog, basic-auth popup, or 'Leave page?'. action='list' shows the dialog's buttons; 'click_button' presses one by name (e.g. 'Open', 'Save', 'Don't Save'); 'set_text' types into the focused dialog field. macOS only; needs Accessibility permission.
| Parameter | Type | Description |
|---|---|---|
action | string | |
button | string | Button label for click_button. |
process | string | Process name (default firefox). |
text | string | Text for set_text. |
browser_focus_browser
Bring the connected browser (Firefox or Chrome, per the bridge connection) to the foreground so OS-level input lands in it. macOS only.
browser_request_human_help
Hand control to the human for something automation must not or cannot do — CAPTCHAs, anti-bot 'verify you're human' walls, 2FA approvals, or a deliberate judgment call. Sends a desktop notification and returns a message you should relay to the user, then STOP and wait for them to act before continuing. Do not attempt to bypass CAPTCHAs yourself.
| Parameter | Type | Description |
|---|---|---|
message * | string | What you need the human to do, e.g. 'Solve the CAPTCHA on the login page, then tell me to continue.' |
reason | string | Short category, e.g. 'captcha', '2fa', 'permission'. |
browser_snapshot
Capture an accessibility/DOM snapshot of the active Firefox tab as a structured tree. Each interactive element gets a stable [ref=eN] handle. USE THIS to understand the page before acting, and re-run it after the page changes — refs become stale after navigation or DOM updates. If workflow-memory hints appear, call browser_workflow_recall before continuing.
| Parameter | Type | Description |
|---|---|---|
maxNodes | number | Max nodes to include (default 1500). |
browser_back
Go back in the active tab's history.
browser_forward
Go forward in the active tab's history.
browser_reload
Reload the active tab.
browser_click
Click an element by its ref from the latest snapshot. Supports right/middle button, double-click, and modifier keys (ctrl/shift/alt/meta) for context menus, multi-select, and open-in-new-tab.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref, e.g. e12, from browser_snapshot. |
button | string | Mouse button (default left). 'right' opens context menus. |
count | number | Click count; 2 = double-click. |
modifiers | array | Modifier keys held during the click. |
browser_drag
Drag one element onto another (kanban cards, sortable lists, file tiles, sliders). Fires both HTML5 drag-and-drop and a pointer-drag sequence so native and JS-library targets both respond.
| Parameter | Type | Description |
|---|---|---|
fromRef * | string | Ref of the element to drag. |
toRef * | string | Ref of the drop target. |
browser_type
Focus a text field by ref and type text into it. Set submit=true to press Enter afterward (e.g. to submit a search).
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
text * | string | |
clear | boolean | Clear the field first (default true). |
submit | boolean | Press Enter after typing. |
browser_fill_form
Fill multiple fields in one call. Pass fields as an array of {ref, text}. Faster and more reliable than many browser_type calls for forms.
| Parameter | Type | Description |
|---|---|---|
fields * | array |
browser_fill_secret
Fill a username or password field from the server-side credential broker. Pass only a secret alias; secret values are never accepted as tool input or returned.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref, e.g. e12, from browser_snapshot. |
secret * | string | Secret alias from the server-side secrets vault. |
field | string | Which secret field to fill (default password). |
browser_login
Atomically fill username/password fields from a server-side secret alias and submit the login form. Pass only refs and the secret alias; secret values are never accepted as tool input or returned.
| Parameter | Type | Description |
|---|---|---|
password_ref * | string | Password field ref, e.g. e12, from browser_snapshot. |
secret * | string | Secret alias from the server-side secrets vault. |
submit_ref | string | Submit button ref. If omitted, the password field's enclosing form is submitted. |
username_ref | string | Username field ref. Filled only when provided and the secret has a username. |
browser_select
Choose an option in a <select> dropdown by visible label or value.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
value * | string |
browser_hover
Hover the pointer over an element by ref.
| Parameter | Type | Description |
|---|---|---|
ref * | string |
browser_press_key
Press a key (Enter, Tab, Escape, ArrowDown, etc.). Optionally target an element by ref; otherwise the focused element receives it.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
ref | string |
browser_clipboard_read
Read text from the system clipboard. Use after the page put something on the clipboard (e.g. a 'Copy' button) or to move data between pages and apps.
browser_clipboard_write
Write text to the system clipboard.
| Parameter | Type | Description |
|---|---|---|
text * | string |
browser_paste
Paste into an element by ref as a real paste event — rich editors (Google Docs, Notion, contenteditable) handle this better than typing. Pastes the given text, or the current clipboard contents when text is omitted.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
text | string | Text to paste. Omit to paste the current clipboard contents. |
browser_clipboard_read_image
Read an image from the system clipboard (e.g. after a 'Copy image' action) and return it as a PNG/JPEG. Errors if the clipboard holds no image.
browser_clipboard_write_image
Put a local image file onto the system clipboard so it can be pasted into a page.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a local image file. |
browser_set_dialog_policy
Set how native JS dialogs are auto-answered so they never block the agent. accept=true confirms (default), promptText sets what prompt() returns, suppress=true neutralizes 'Leave page?' beforeunload guards. Applies to the current page; re-set after navigation if needed.
| Parameter | Type | Description |
|---|---|---|
accept | boolean | Answer confirm()/prompt() affirmatively (default true). |
promptText | string | Value returned from prompt() when accepted. |
suppress | boolean | Neutralize beforeunload 'leave page?' guards (default true). |
browser_dialogs
List native JS dialogs (alert/confirm/prompt) the page tried to open and how they were auto-answered. Use this to see if the page asked something.
browser_mock_geolocation
Make navigator.geolocation return a fixed position (so location-gated tasks proceed without the native permission prompt). Pass clear=true to stop mocking. Applies to the current page; re-set after navigation.
| Parameter | Type | Description |
|---|---|---|
accuracy | number | Accuracy in meters (default 20). |
clear | boolean | Stop mocking and restore real geolocation. |
latitude | number | |
longitude | number |
browser_download
Download a file to disk WITHOUT the OS save dialog, and return its local path so you can read it. Use for PDFs, exports, attachments — the file lands in the browser's downloads folder.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL of the file to download. |
filename | string | Optional filename (relative to the downloads folder). |
timeout | number | Max ms to wait for completion (default 60000). |
browser_downloads_list
List recent downloads with their on-disk paths and state.
| Parameter | Type | Description |
|---|---|---|
limit | number |
browser_save_pdf
Save the current tab as a PDF to the downloads folder (dialog-free). Useful to capture a rendered page. If your Firefox build still shows a save dialog, use browser_native_dialog to confirm it.
| Parameter | Type | Description |
|---|---|---|
filename | string | Optional output filename. |
browser_network_log
Inspect recent network requests (method, URL, status, type, errors) the browser made. Use to diagnose why a button 'did nothing', find an API endpoint, or confirm a request succeeded.
| Parameter | Type | Description |
|---|---|---|
filter | string | Only requests whose URL contains this substring. |
limit | number | Max requests to return (default 50). |
onlyErrors | boolean | Only failed requests (network error or status >= 400). |
type | string | Resource type, e.g. xmlhttprequest, script, document, image. |
browser_http_auth
Arm answers for HTTP basic-auth prompts (the native username/password dialog) from a server-side secret alias, scoped to that secret's domains. Pass only the alias; the credential value is never accepted as input or returned. Call before navigating to the protected URL.
| Parameter | Type | Description |
|---|---|---|
secret * | string | Secret alias from the server-side secrets vault. |
once | boolean | Answer only the next auth challenge, then disarm. |
browser_clear_http_auth
Disarm previously-armed HTTP basic-auth answers (all domains, or specific ones).
| Parameter | Type | Description |
|---|---|---|
domains | array |
browser_upload_file
Attach local file(s) to the page WITHOUT opening the OS file picker (the picker cannot be automated — never click elements that open it). Pass the ref of a file input (hidden ones appear in snapshots as 'file-input ... [hidden]'), or of an upload button/dropzone near it, plus absolute local file paths. Sets the input's files directly, or simulates a drag-and-drop when no file input is found.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths of local files to attach. |
ref * | string | Ref of the file input, upload button, or dropzone. |
mode | string | auto (default): find and fill the file input. drop: force a drag-and-drop onto the ref'd element (for dropzones). |
browser_scroll
Scroll the page or a specific scrollable container. Pass a ref to scroll that container (inner panes, virtualized/infinite lists); omit it to scroll the window. Use to='bottom' to jump to the end (e.g. trigger infinite-scroll loading).
| Parameter | Type | Description |
|---|---|---|
amount | number | |
direction | string | |
ref | string | Scroll this container (or, with no direction/to, just reveal it). |
to | string | Jump to the top or bottom of the target. |
browser_read_text
Get the visible text of the page (or of one element by ref). Use for reading article/content; use browser_snapshot for interactive structure.
| Parameter | Type | Description |
|---|---|---|
maxChars | number | |
ref | string |
browser_get_value
Get the current value/text of a field or element by ref.
| Parameter | Type | Description |
|---|---|---|
ref * | string |
browser_wait
Wait a fixed number of milliseconds (use sparingly).
| Parameter | Type | Description |
|---|---|---|
ms * | number |
browser_wait_for_text
Wait until the given text appears anywhere on the page (or timeout).
| Parameter | Type | Description |
|---|---|---|
text * | string | |
timeout | number |
browser_list_tabs
List all open tabs with their ids, urls, and titles.
browser_select_tab
Make a tab active by id (the agent acts on the active tab).
| Parameter | Type | Description |
|---|---|---|
tabId * | number |
browser_new_tab
Open a new tab, optionally at a URL, and make it active.
| Parameter | Type | Description |
|---|---|---|
url | string |
browser_close_tab
Close a tab by id (defaults to the active tab).
| Parameter | Type | Description |
|---|---|---|
tabId | number |
browser_status
Check the bridge connection and the current active tab. If the active tab has workflow memories, this returns short hints.
browser_info
Get the active tab's url, title, load state, scroll position, and short workflow-memory hints when available.
browser_screenshot
Capture a PNG screenshot of the visible part of the active tab. Use only when the snapshot is insufficient (e.g. canvas, charts, visual layout).
browser_eval
Run JavaScript in the page and return the result. Disabled under hardened mode, which is the default; the operator enables it by setting UBA_STRICT_SECRETS=0 in the server environment. On Firefox the code runs in the content-script sandbox; on Chrome it runs in the page's own realm, where the page can observe it and its CSP applies. Use only when no dedicated tool fits.
| Parameter | Type | Description |
|---|---|---|
code * | string | JS body; use `return value;` to return data. |