Expand description
Browser: one tool for the browser panes an agent drives, with an action
(docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.2, slice S2). It
replaces OpenBrowser and the sixteen Browser* tools; their handlers
(browser.rs) run each action unchanged. An action that changes the page can
wait and read it again in the same call.
Constants§
- ACTS 🔒
- CHANGES_
THE_ 🔒PAGE - Actions after which
until_*andsnapshotmay follow in the same call. - TAKE_
CONTROL_ 🔒WAIT - How long a take_control waits for srv: the person has 120 s to answer the pane’s question, and the shared client’s own limit (10 s) would end the call long before.
Functions§
- call 🔒
- close 🔒
close: Stop’spanewith the tab named: that tab closes, and its pane only when it was the last. With none, ClosePane would end the caller’s own session, so a pane is required and there is no default.- control_
call 🔒 - POST
bodyto srv’s/api/v1/ui/browser/{route}and read its answer, or fail with what srv said.waitis the time limit for a call that waits for the person; none: the client’s own. - follow_
wait_ 🔒args - The wait that follows an action, from its
until_*parameters only: the action’s owntext(a fill’s value) is not a wait condition. - handoff_
status 🔒 handoff_status: what became of a hand-off, by its id or the newest on a pane.- handoff_
status_ 🔒text - What the agent reads for a hand-off’s status.
- masked 🔒
- Everything the agent reads from a Browser call, with card, ID and bank numbers and one-time codes hidden by their shape: the last line of the secret-field rule (the host hides a secret field’s value; this hides the number a page prints in plain text, or a dialog, a popup title or the Log repeats). Not grantable: no site grant reaches it.
- named_
pane 🔒 - The pane a take_control or release names: required, since neither defaults to the caller’s own.
- only 🔒
argumentswith onlykeys, for a follow-up handler that checks what it’s given.- release 🔒
release: stop driving a pane, so that it has no driver and another agent can take it without asking the person.- retake 🔒
retake: drive again a pane the user took over and gave back. The pane is required (it is not the caller’s own), and a snapshot comes with the answer: the user has been using the page, so what the agent last saw is out of date.- run 🔒
- One Browser call: the action, then any follow-up it asked for.
- take_
control 🔒 take_control: drive a browser pane the agent did not open. srv may ask the person in the pane first (their Personal sign-ins, a pane another agent drives, a pane they used a moment ago) and the call waits for the answer.