act
Automate multi-step goals on the current browser tab by extracting interactive elements and text, choosing each click, type, scroll, or key press, and repeating until done or blocked.
Instructions
Act toward a goal on the session's active tab in one call: the server extracts the page's interactive elements (including open shadow roots and same-origin iframes) and visible text, asks the Jev decision model for the next step, does it (click, type, select, hover, right-click, drag, scroll, back, wait, or press a key such as Enter, Escape, Tab or an arrow; on a mobile session it taps instead of clicking, drags with a finger, and can swipe an element or the screen), and repeats until the goal reads achieved, nothing looks able to make progress, or the step budget runs out. Each step is one cheap Jev request (~150 to 500 ms), not a driving-LLM round trip, so multi-step flows take seconds and fractions of a cent. Pass values (e.g. { query: "Oolong" }) for anything to type: Jev only sees the keys and picks which field each belongs to; the text goes straight to the page, so secrets never reach a model. JavaScript dialogs are accepted and listed in dialogs, and a link that opens a new tab is followed there. Needs TYPESAFE_API_KEY; every step lands on an element the extraction just offered, and when Jev isn't sure of a step it stops with status uncertain and the candidates it was weighing instead of guessing. status is completed, likely_completed (Jev leaned toward done but wasn't sure), uncertain, stuck, needs_login (pair with request_human_takeover or load_browser_state; a run with values keeps going at a login form), needs_human (a CAPTCHA or bot check; use request_human_takeover), needs_confirmation (only with confirmIrreversible; pending names the click it held back), blocked (an error page), no_progress or max_steps. Returns a per-step trace with confidences. Jev can be eager to call a goal met: verify with take_snapshot or take_screenshot afterwards. For a single action, click/type with a plain-language selector is cheaper.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"goal": "<goal>"
},
"name": "act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What to achieve on the active tab, e.g. "open the article about espresso". Re-decided after every step against the page as it is. | |
| values | No | Text the loop may type, keyed by role, e.g. { query: "Oolong", password: "hunter2" }. Only the keys are sent to Jev; the values are typed via CDP. | |
| maxSteps | No | Step budget before stopping with status max_steps. Default 8, capped at 32. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. | |
| confirmIrreversible | No | Stop with status needs_confirmation before a click Jev judges can't be undone (placing an order, paying, sending, deleting). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page's URL at the final decision. | |
| goal | Yes | The goal as given. | |
| steps | Yes | What was done, in order. | |
| title | Yes | The page's title at the final decision. | |
| status | Yes | "completed", "likely_completed", "uncertain", "stuck", "needs_login", "needs_human", "needs_confirmation", "blocked", "no_progress" or "max_steps". | |
| dialogs | No | JavaScript dialogs the page opened, which `act` accepted. | |
| pending | No | For "needs_confirmation": the element `act` stopped short of clicking. | |
| candidates | No | For "uncertain" and "likely_completed" stops on a low-confidence pick: what Jev was choosing between, most likely first. |