axsDocs
axs browser

Browser tools

Reference for the axs browser MCP tools: browser_tabs, browser_open, browser_snapshot, browser_act, browser_text and screenshots to drive your Chrome.

All tools take a tab_id from browser_tabs or browser_open. Refs come from a snapshot: e12, or f3.e12 for an element inside frame 3.

ToolWhat it does
browser_tabsYour open tabs: id, title, url (* = in front)
browser_openOpens a url in a new background tab (or in tab_id), waits for the load, returns a full snapshot
browser_snapshotThe page's controls with refs; after the first call only the changes. full: true for the whole list
browser_textReadable text of the main content or of one element (ref), up to max chars (default 6000)
browser_actSeveral steps in one call, see below
browser_screenshotJPEG of the tab or of one element (ref). Costs far more tokens than a snapshot
browser_trustThe sites you trusted or blocked (read only)
browser_flows, browser_flow_run, browser_flow_saveFlows
browser_handoffHand the tab to you
browser_devicesPick which device's Chrome

Snapshots

# Sign in
e3 input[email] "Email" = "[email protected]"
e4 input[password] "Password"
e5 checkbox "Remember me" [x]
e6 button "Sign in"

A later snapshot of the same page shows + for new or changed lines and - for refs that are gone. When most of the page changed it returns the full list again.

Actions

browser_act runs actions in order, stops at the first one that fails and returns each step's result plus the snapshot changes.

StepEffect
{do: "click", ref, force?}Clicks. Refused when another element covers it, unless force
{do: "type", ref, text, append?, submit?}Replaces the text (or appends), reads it back to check. \n = new line
{do: "select", ref, option}Picks an option of a select
{do: "check", ref, on?}Sets a checkbox or radio
{do: "key", key, ref?}Enter, Escape, Tab, ArrowDown and so on
{do: "scroll", ref} or {do: "scroll", dir: "up" | "down"}Scrolls to an element or by a page
{do: "hover", ref}Moves the pointer over it
{do: "wait", ms} or {do: "wait", for: "nav"}Waits a time or for the next page
{do: "fill", cred, submit?}Fills a stored login from cred_list; the agent never sees it
{do: "open", url}Opens a url in this tab
[
  { "do": "fill", "cred": "github" },
  { "do": "wait", "for": "nav" },
  { "do": "click", "ref": "e14" }
]

After a fill without a new page, the agent cannot read that tab until it navigates.

Pixel steps

For what a snapshot cannot reach (canvas apps like Google Docs or Figma, maps, charts), the agent takes a browser_screenshot and points at pixels of that image. These steps send real input, like your own mouse and keyboard, so canvas apps take them.

StepEffect
{do: "click", x, y, button?, double?}Clicks at that pixel. button: right or middle
{do: "hover", x, y}Moves the pointer there
{do: "scroll", x, y, dy?}Wheel at that pixel (dy in pixels, negative = up)
{do: "drag", x, y, to_x, to_y}Presses, moves and releases
{do: "type", text, x?, y?, submit?}No ref: types into what has focus, or clicks x, y first
{do: "key", key}After a pixel step real too: Enter, a, Control+a, Shift+Tab

The result names what is at the pixel (clicked at 125,125 (button "Save")). Paying, sending, deleting and sharing still ask. While pixel steps run, Chrome shows its "started debugging this browser" bar for a minute.

Focus

The agent opens its own tabs in the background and never switches your window. Its tabs join the tab group axs, so you see which ones are its. Screenshots and pixel steps work on background tabs too, so your tab stays in front.

On this page