browser_goal
Complete a full browser task in a single call: supply a URL and goal, and the browser is driven to the finish with automated verification of the final page state.
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 key is TYPESAFE_API_KEY, or OPENROUTER_API_KEY when TYPESAFE_BASE_URL points at https://openrouter.ai/api/alpha/decisions -- same model, same contract, no TypeSafe account needed. 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 |