browser_goal
Complete a full browser task in one call: provide a goal and optional URL, and the tool drives the page, handling actions and verifying the outcome with assertions, eliminating step-by-step instructions.
Instructions
Hand a whole browser task over. Needs a decision-model key.
This is the entry point for browser work, not an optimisation on top of the
manual loop. Pass url and the goal and the page is opened and driven to
the end here: one call, one host turn, instead of a turn per click.
Leave url out when the task continues from a page an earlier step left
behind; the goal then runs against whatever the session is already showing.
Each step costs one request (operation + every target head in a single
speculative fan-out). verify runs browser_assert-style checks on the final
page, so the result is a fact rather than a model's claim of success.
The decision model is reachable through two APIs and both are supported here.
JEV_PROVIDER=typesafe uses Jev's own API with TYPESAFE_API_KEY;
JEV_PROVIDER=openrouter routes the same model through OpenRouter with
OPENROUTER_API_KEY and no TypeSafe account. Same model, same contract either
way. Reading a page needs no key at all, so when no key is set the handoff is
unavailable while browser_open, browser_observe and browser_act keep working.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| goal | Yes | ||
| verify | No | ||
| session | No | default | |
| verbose | No | ||
| max_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |