Docs

How it works

What the agent can do

Everything the agent can do on a page, how it sees the page, what you and your visitors stay in control of, and what it cannot do yet. Each tool below is one the model can be given. Tools your own page registers, and tools from an MCP server you connect, are offered beside them. Walkthroughs, practice and page captures are part of the Pro plan.

How it sees the page

The agent reads the page as structure, not pixels. On every turn the dock sends a compact page model: each control with a short handle (e12), its role, its accessible name, what using it does, and its state (checked, expanded, disabled, a slider's value and range, a native select's options up to the first 20). Beside the controls it lists the page's sections: titled cards, tables, figures and charts, each with its own handle. Navigation, open dialogs and your page briefing ride along. The scanner page shows what is read and what is never sent.

Structure is complete for anything with a handle, so that is how the agent acts. To read the words in a section it calls read_text; when it needs to see what words cannot say (a chart, a map, whether something looks broken), it can look at the page.

Acting on the page

These change something, so each one is governed by your action policy.

Tool What it does
click Presses a button, link, tab or row, including controls nothing in the markup marks as clickable (a sortable header, a card a script listens on).
type Types into a field or a rich-text editor. A read-only field refuses, and the agent is told so instead of guessing.
choose Picks an option by its label. A native select takes it directly; a custom dropdown is opened, and the matching option is found among what appeared and clicked. It checks the choice landed.
toggle Sets a native checkbox or radio on or off, or flips it. A custom switch can only be flipped.
set_slider Moves a slider to a number within its range: native range inputs directly, custom ARIA sliders by walking the thumb with arrow keys.
press Presses a key or a shortcut the page itself listens for: a command palette, Enter on a field with no button, Escape, arrow keys. It reports what changed, and says so when nothing did.
navigate Goes to a page of your app, or opens one in a new tab beside the current one (the visitor clicks to open it).
go_back Goes back one page in history, for apps with no back control of their own.
close_tab Closes a tab the agent opened. It can never close one the visitor opened.

Before acting, the agent's cursor travels to the control and names the action in a small tag, so the visitor sees what is about to happen. They can stop it or take over at any point.

Reading and pointing

These change nothing on the page.

Tool What it does
scroll Brings a control into view, or scrolls up or down: the page, or an area that scrolls on its own (a list, a table body, a side panel) when given its ref.
point_at Highlights a control to draw the visitor's eye, without touching it.
hover Rests the pointer on something and reads what that reveals: a tooltip, a submenu, a row's hidden actions, the name under an avatar.
read_text Reads the words of one section by its handle, or of the page's main content: prose, prices, totals, table rows, error messages. A line per block, headings marked, table cells split. Field values are never included, jalon-mask text reads as [masked], and hidden text is left out.
wait_for Waits for the page to catch up: until some text appears, until it goes (a "Loading…"), or until the page stops changing, for up to 10 seconds. It returns as soon as that happens, and says so when it did not. Masked text never counts.

Seeing the page

look_at_page gives the agent one picture, of one of four areas:

Area What it sees How
visible (default) What is on screen right now. Drawn from the page.
page The whole page, top to bottom, as one overview. Good for layout; on a long page the text is too small to read, so the agent then looks at a part. Pages past 8,000 px are cut, and the agent is told. Drawn from the page.
element One control or section in detail, by its handle: a chart, a card, a table. Drawn from the page.
screen The visitor's real screen, through the browser's share picker. The only area that shows videos, embedded frames and anything outside the page. Browser screen share.

A picture drawn from the page needs no browser prompt. It blanks every text field and the text of every jalon-mask element — unlike session replay, it shows the option a select is set to and leaves emails and long numbers in page text as they are — draws canvases in (charts are most of why the agent looks), and keeps fixed and sticky headers where the visitor sees them. The agent is told to use pictures only for what structure cannot answer, once per question.

capture_page is different: a masked snapshot of the page, stored with the session so your team sees the moment the visitor saw. The agent reads the snapshot's extracted text, not pixels.

Looking requires Let the agent see the page in your app's settings and a model that can read images. A conversation keeps its two most recent pictures.

In the conversation

Tool What it does
show_form A small form when the agent needs two or more answers at once.
show_choices Choice cards instead of asking "which one?" when the options are known.
show_table A table for list-shaped answers, with optional row actions.
start_guide A step-by-step walkthrough that highlights each control and waits for the visitor to do it.
start_practice Hands-on practice with progressive hints and a score.
request_handoff Hands the conversation to a person on your team, with the reason, into your handoff inbox.

On the server

Tool What it does
create_record Saves a record into a record type you defined in the console (a support ticket, a lead), never by filling your page. A record.created webhook follows.
remember_fact Saves a durable note about a person, signed in or recognised by their device, for later conversations. Needs behaviour awareness on.

What you control

The action policy. Settings → Capabilities has a row each for navigating, clicking, typing, choosing, toggling, pressing keys, creating records, capturing the page, looking at the page and remembering facts, with four verdicts. Sliders, going back and closing a tab follow the default row.

Verdict What happens
Allow The agent does it without asking.
Ask first The visitor confirms in the chat before it runs. They can allow that kind of action, or every action, for the rest of the chat.
Show The action is blocked without asking the visitor. Nothing is highlighted automatically; the agent can still explain and point.
Never The tool is removed server-side; the model is never offered it.

A default row covers everything you do not set, rules can differ per page, and include/exclude path lists confine the agent to parts of your app.

Modes. In answers-only mode the page actions are switched off; the agent explains and points instead.

Your markup. data-jalon-ignore keeps a subtree out of every reader the dock has — the page model, read_text, the journal, pictures, screen shares and replays (the guarantee in full); jalon-mask keeps an element's text out of replays and pictures; data-jalon-description, data-jalon-when and data-jalon-id tell the agent what a control is for. See the script tag page.

The visitor. Privacy mode, a switch in the chat, turns off every page tool and every picture for that visitor until they turn it back on. Stop and take over are always one click away.

What it cannot do yet

  • Pages it is not on. It works inside your app where the dock is installed, in the visitor's own session. It cannot browse other sites.
  • Other origins. navigate goes to paths in your app only.
  • Iframes and shadow DOM. Controls inside a frame or a web component's shadow root are not in the page model, so the agent cannot see or use them.
  • Drag and drop. There is no drag action; a control that only works by dragging needs the visitor's hand.
  • Files. It cannot pick a file from the visitor's device. It asks them to choose it, and says which control.
  • Browser and system shortcuts. New tab, reload, switching windows and the like are refused; only keys the page listens for are pressed.
  • Real hardware input. Actions are dispatched the way a script dispatches them. A page that only trusts physical input may ignore one; the agent checks what changed and says so rather than claiming it worked.
  • Read-only date fields. A calendar-only field refuses typing, so the agent opens the calendar and picks the day.
  • What a drawn picture leaves out. Videos, embedded frames, cross-origin images that refuse CORS, and tainted canvases are absent from drawn pictures; screen shows them, at the cost of the visitor's share prompt.

See how Jalon compares with browser agents, copilot frameworks and support agents.