Browz

v0.1.4
com.gobrowz/browz Checked 3 days ago Published 22 days ago

Isolated, fingerprint-protected browser profiles for AI agents: one per task, with its own proxy

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browz_profile_list List profiles

List all browser profiles with their id, name, group, tags and last-used time. Start here to find a profile's id.

browz_profile_create Create profile

Create a profile. Each profile gets its own consistent, isolated fingerprint. Pass proxyId (from browz_proxy_list) to give it a proxy exit; without one it uses this machine's IP, which links it to every other unproxied profile.

ParameterTypeDescription
name *stringProfile name
archetypestringmacos | windows | linux — the platform the fingerprint imitates
enginestringchromium (default, the Browz engine) | signed-chrome (the user's installed Google Chrome; needs proxyId, timezone and languages)
groupIdstringGroup id from browz_group_list
languagesstringAccept-Language list, e.g. fr-FR,fr,en. Default: follows the proxy exit
proxyIdstringPool id from browz_proxy_list. Strongly recommended.
tagsstringComma-separated tags
timezonestringIANA timezone, e.g. Europe/Paris. Default: follows the proxy exit

browz_profile_start Start profile browser

Launch a profile's browser. Required before any page tool (navigate, snapshot, act, wait, screenshot). Next: browz_navigate. Returns the CDP debug port, cdpEndpoint and wsEndpoint.

ParameterTypeDescription
id *stringProfile id
headlessbooleanOverride the agent's headless default for this launch (Browz engine only)

browz_profile_stop Stop profile browser

Close a profile's browser cleanly, preserving its session.

ParameterTypeDescription
id *stringProfile id

browz_profile_delete Move profile to trash

Move a profile to trash. Reversible — its proxy and browser data are kept until purged.

ParameterTypeDescription
id *stringProfile id

browz_navigate Navigate tab

Navigate a tab of a running profile to a URL and wait for load. http/https only. Next: browz_snapshot to see the page and get element refs.

ParameterTypeDescription
id *stringProfile id
url *stringhttp:// or https:// URL
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab

browz_evaluate Evaluate JavaScript

Run a JavaScript expression in a running profile's page and return its value. A last resort: prefer browz_snapshot + browz_act, which send real input and leave no script trace.

ParameterTypeDescription
expression *stringJavaScript expression; awaited if it returns a promise
id *stringProfile id
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab

browz_screenshot Screenshot tab

PNG screenshot of a tab of a running profile, returned as an image. Use it to check what browz_snapshot cannot show (layout, images, canvas).

ParameterTypeDescription
id *stringProfile id
fullPagebooleanCapture beyond the viewport
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab

browz_pages List tabs

List the open tabs of a running profile (same as browz_tabs_list).

ParameterTypeDescription
id *stringProfile id

browz_cookies_export Export cookies

Export a running profile's cookies.

ParameterTypeDescription
id *stringProfile id

browz_profile_clone Clone profile

Copy a profile into a new one with a fresh, consistent fingerprint. The proxy is NOT copied: two profiles on one exit are linked. Returns the new profile.

ParameterTypeDescription
id *stringProfile id to copy
namestringName for the copy

browz_tabs_list List tabs

List the open tabs of a running profile with their targetId, title and url. Pass a targetId to the page tools to work in that tab.

ParameterTypeDescription
id *stringProfile id

browz_tab_open Open tab

Open a new tab in a running profile at an http(s) URL. Returns its targetId.

ParameterTypeDescription
id *stringProfile id
url *stringhttp:// or https:// URL

browz_tab_close Close tab

Close one tab of a running profile. The last tab cannot be closed; use browz_session_end.

ParameterTypeDescription
id *stringProfile id
targetId *stringtargetId from browz_tabs_list

browz_snapshot Snapshot page

Read a tab as an accessibility tree: roles, names, values and states, one element per line, plus the visible text. Interactive elements carry a ref like [e12] (pass "e12" to browz_act); a run of sibling links shares one line, `- links: "Home" [e5], "About" [e6]`, each link with its own ref. A ref stays valid while its element stays on the page; take a new snapshot after a navigation. The result reports its mode and estimated tokens; if the page does not fit maxTokens it falls back to a smaller mode and then truncates.

ParameterTypeDescription
id *stringProfile id
maxTokensintegerToken budget for the snapshot (about 4 characters a token). Default 10000
modestringcompact (default): controls, headings, alerts and visible text. interactive: controls and headings only. full: every accessibility node
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab

browz_act Act on element

Act on an element from the latest browz_snapshot with real input events: click, dblclick, hover, fill (replace a field's text), type (append), press (a key or chord such as Enter or Control+a), select (an option by value or label), check, uncheck, scroll, upload (set files on a file input, or on the input a button opens). Input is paced like a person: the pointer moves to the element, keys are typed one by one; human false sends it at once. Then browz_wait or browz_snapshot to see the result.

ParameterTypeDescription
action *string
id *stringProfile id
filesarrayupload: the files. Each is a name in the Browz data folder's agent-uploads folder, or a name plus its content as base64 in data (25 MiB in all)
humanbooleanDefault true: pointer movement and typing paced like the profile's user. false: instant input
keystringKey or chord for press, e.g. Enter, Tab, Control+a
refstringElement ref from browz_snapshot, e.g. e12
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab
textstringText for fill or type
valuestringOption value or label for select
xnumberclick/hover without a ref: viewport x. scroll without a ref: horizontal pixels
ynumberclick/hover without a ref: viewport y. scroll without a ref: vertical pixels

browz_wait Wait for page

Wait until text appears, text disappears or the URL contains a string (or just wait timeMs). Returns matched=false on timeout rather than failing.

ParameterTypeDescription
id *stringProfile id
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab
textstringWait until this text is on the page
textGonestringWait until this text is no longer on the page
timeMsintegerFixed wait, when no condition is given
timeoutMsintegerDefault 10000
urlContainsstringWait until the URL contains this

browz_cookies_get Get cookies

Read a running profile's cookies, optionally only those for one domain (and its subdomains).

ParameterTypeDescription
id *stringProfile id
domainstringe.g. example.com

browz_cookies_set Set cookies

Set cookies in a running profile. Each cookie needs name, value and domain (or url); path, expires, secure, httpOnly and sameSite are optional.

ParameterTypeDescription
cookies *array
id *stringProfile id

browz_session_end End session

End the session: close the profile's browser cleanly (its cookies and tabs are saved). With delete=true the profile is also moved to trash, where the person can restore it. With purge=true it is moved to trash and then deleted for good: use that for throwaway profiles you created for this task (an agent key may purge only profiles it created). For a throwaway task, browz_session_open (ephemeral) and browz_session_close wipe the profile for you.

ParameterTypeDescription
id *stringProfile id
deletebooleanAlso move the profile to trash (restorable)
purgebooleanAlso delete the profile for good: trash, then purge. Cannot be undone. An agent key may purge only profiles it created

browz_group_list List groups

List profile groups.

browz_proxy_list List proxies

List the proxy pool. Passwords are never returned; use the returned id as proxyId when creating a profile.

browz_running List running profiles

List profiles whose browser is currently running.

browz_download_list List downloads

List completed regular files in a profile's dedicated Downloads directory. Works while stopped or running; refresh if a running download changes identity.

ParameterTypeDescription
id *stringProfile id

browz_download_read Read download

Read one bounded chunk of a listed download by opaque artifact id. Returns at most 65536 bytes as base64; use nextOffset until complete.

ParameterTypeDescription
artifactId *string64-character artifact id from browz_download_list
id *stringProfile id
maxBytesinteger
offsetinteger

browz_automation_read Read automation state

Read metadata-only durable automation operator state. Never exposes plans, secret values, worker claims, grants or effects.

ParameterTypeDescription
action *string
offsetinteger
streamstring

browz_automation_mutate Change automation state

Perform an allowlisted automation operator mutation. operationKey must be reused when retrying the same action.

ParameterTypeDescription
action *string
operationKey *stringStable caller idempotency key
confirmUnsafeboolean
enabledboolean
fromCheckpointboolean
jobIdstringJob id
scheduleIdstringSchedule id
secretIdstringSecret metadata id

browz_bulk_read Read bulk jobs

List/status/report metadata for durable profile metadata jobs.

ParameterTypeDescription
action *string
jobIdstringDurable job id

browz_bulk_submit Submit bulk job

Submit an allowlisted durable profile job with a stable idempotency key.

ParameterTypeDescription
idempotencyKey *stringStable caller idempotency key
operation *string
executionsarray
extensionIdsstringExact set1:/ext1: extension selectors, comma-separated, in precedence order; empty clears
fingerprintAutoPolicystring
materializationIdstringVerified materialization id
modestringTemplate assignment mode
patchobject
profileIdsarray
proxyIdstringOpaque proxy-pool id; credentials are resolved only by the agent at dispatch
revisionintegerTemplate revision the profiles are assigned to
screenobjectExact screen assignment: {mode:custom,value:{width,height}}, {mode:real} or {mode:auto} to clear
settingsobjectExact startupUrl/startupUrls assignment; empty clears profile-specific start pages
tagsarray
templateIdstringTemplate id (operation template)

browz_bulk_mutate Run or cancel bulk job

Run one fenced durable batch or cancel a job. Reuse operationKey on retry.

ParameterTypeDescription
action *string
jobId *stringDurable job id
operationKey *stringStable caller operation key
batchSizeinteger

browz_bulk_report_prepare Prepare bulk report

Prepare an immutable, restart-safe JSON or CSV artifact for a terminal durable profile job. Reuse operationKey for the exact request.

ParameterTypeDescription
format *string
jobId *stringTerminal durable job id
operationKey *stringStable caller operation key

browz_bulk_report_read Read bulk report

Read one bounded path-free chunk from a prepared bulk report artifact. Returns at most 65536 bytes as base64; follow nextOffset until complete and verify digests.

ParameterTypeDescription
artifactId *stringOpaque artifact id from browz_bulk_report_prepare
jobId *stringTerminal durable job id
maxBytesinteger
offsetinteger

browz_session_open Open agent session

Open an agent session: an isolated profile of this task's own, with a consistent fingerprint, launched and ready for browz_navigate (use the returned profileId as id in page tools). mode ephemeral (default) gets a fresh profile that browz_session_close wipes (files, cookies, rows); mode persistent with an identity returns to that identity's profile, cookies and proxy. Parallel sessions never share storage. Refused with a clear message when the plan's concurrent-session limit is reached.

ParameterTypeDescription
task *stringWhat this agent is doing (1-200 characters); shown in browz_session_list
archetypestringNew profiles only: macos | windows | linux
enginestringNew profiles only: chromium (default) | signed-chrome
headlessbooleanOverride the agent's headless default for this launch
identitystringPersistent only: a stable name for the returning persona, e.g. shop-a/buyer-3 (letters, digits, - _ . : @ /)
launchbooleanLaunch the browser now (default true); false reserves the session and profile only
modestringephemeral (default): wiped on close; persistent: kept for a returning identity
proxynone, pool (least-used pool proxy; a returning identity keeps its own), or {proxyId} from browz_proxy_list. Default: a returning identity's proxy, otherwise none
ttlMinutesintegerEphemeral only: wipe the profile after this long even if never closed (default 1440)

browz_session_resume Resume agent session

Resume an open agent session after its browser stopped or was killed: relaunches the same profile with its cookies and storage, or attaches if it is still running. Returns the launch endpoints.

ParameterTypeDescription
sessionId *stringSession id from browz_session_open
headlessbooleanOverride the agent's headless default for this launch

browz_session_close Close agent session

Close an agent session and free its slot. Ephemeral: stops the browser and wipes the profile (no files or cookies left). Persistent: stops the browser and keeps the identity's profile for next time. Closing twice is harmless.

ParameterTypeDescription
sessionId *stringSession id from browz_session_open

browz_session_list List agent sessions

List open agent sessions (state open or stopped, i.e. resumable) and the plan's concurrent-session limit.

browz_request_human Hand to a person

Hand the live profile to the person at the computer for a sign-in, 2FA code, CAPTCHA or other step you must not do yourself. Browz pauses automation, raises the profile window and notifies them; this call waits (with progress) until they click I'm done, cancel, or timeoutSec passes, then you continue in the same session. Never ask the person for passwords or codes and never use CAPTCHA-solving services. After it returns, take a new browz_snapshot.

ParameterTypeDescription
id *stringProfile id (a running, headed profile)
reason *stringWhat the person should do, shown to them, e.g. 'Sign in to example.com'
doneWhenUrlContainsstringAlso finish as soon as a tab's URL contains this (e.g. /dashboard)
kindstringDetected from the page when omitted
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab
timeoutSecintegerHow long to wait for the person. Default 300

browz_credential_list List stored credentials

List the sign-ins the person stored for agents: id, label, a masked username hint, the sites each may be used on, whether a TOTP code is available, and extra field names. Never returns a password, code or seed. Pass id to see only those this profile may use.

ParameterTypeDescription
idstringProfile id: only credentials this profile may use. Omit for all

browz_credential_fill Fill a stored credential

Type one value of a stored credential (username, password, a fresh TOTP code, or a named extra field) into a field you found with browz_snapshot. Browz types it itself, paced like a person; the result says only that it was filled. Refused unless the tab (and any frame around the field) is on one of the credential's sites over https, and a password or code goes only into a password field (a code also into an autocomplete=one-time-code field). After a password or code is filled, browz_evaluate and browz_screenshot are refused on this profile until that tab loads another page; browz_snapshot keep…

ParameterTypeDescription
credentialId *stringA credential id from browz_credential_list
field *stringusername, password, totp, or the name of one of the credential's extra fields
id *stringProfile id (a running profile)
ref *stringThe field's ref from browz_snapshot, e.g. e12
humanbooleanType with the profile's human pacing (default true); false types at once
submitbooleanPress Enter in the field after filling it. Default false
targetIdstringTab to use: a targetId from browz_tabs_list. Default: the first tab