browser_batch
Execute multiple browser tool calls in a single batch, running them sequentially and halting on the first error to return results and error count.
Instructions
Push a whole run of browser tool calls through one request rather than spending a turn on each. Every entry is {name, input}, where input is the same object you would hand that tool on its own. Entries run one after another, never in parallel, and the run halts at the first failure: you get the output of everything that finished, the error from the entry that broke, and a count of the entries that never started. The list is checked before anything touches the page, so an unknown tool name, or an attempt to put browser_batch inside itself, rejects the call outright instead of half-applying it. Batch aggressively whenever you can see two or more moves ahead - open the page, click into the search box, type the query, press Return, take a screenshot. Images come back inline among the text outputs, each labelled with the entry that produced it. Two things bite here. First, any coordinate you write in these entries, and any ref you name, come from a screenshot taken BEFORE the call or a read_page that ran before it, since nothing this batch paints is visible to you while you compose it - and once an entry navigates or reloads, every earlier ref and coordinate is stale, so end the batch there and look again. Second, every entry that acts on a page has to state tabId - inside a batch no tab is inferred, so a batch that creates a tab and then drives it must repeat that new id on each later entry. Unlike the Chrome extension, firefox-use runs no per-site permission check between entries; it drives its own automation profile. A modal dialog does still freeze the page, so clear it with firefox_dialog rather than letting the rest of the batch queue up behind it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | The ordered calls to make, one or more, run from the top down. Example: [{"name":"navigate","input":{"tabId":7,"url":"https://docs.example.org/search"}},{"name":"computer","input":{"tabId":7,"coordinate":[420,260],"action":"left_click"}},{"name":"computer","input":{"tabId":7,"text":"budget report","action":"type"}}] |