act
Automates goal-directed actions on the active browser tab by choosing and performing clicks, typing, selections, scrolling, and waits until the goal is reached or progress stops.
Instructions
Act toward a goal on the session's active tab in one call: the server extracts the page's interactive elements and visible text, asks the Jev decision model for the next step, does it (click, type, select, scroll, back or wait), 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–500ms), 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. Needs TYPESAFE_API_KEY; fails closed on any Jev problem, and every step lands on an element the extraction just offered. If a login wall or an error page appears, it stops early with a status saying so — pair needs_login with request_human_takeover or load_browser_state. A run with values keeps going at a login form, since the caller supplied what to type. Actions with no visible effect trigger a retry with Jev's next-best option before giving up as no_progress. Returns a per-step trace with confidences; status is completed, stuck, needs_login, blocked, no_progress or max_steps. 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.
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. |
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", "stuck" or "max_steps". |