> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browspark.krishm.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# browser_batch

> Run several tool calls in order in one round trip.

Run several tool calls in order in one round trip. Stops at the first error. Each step is \{tool, args}.

<Note>Each step is a normal tool call. The batch stops at the first error and returns the results collected so far.</Note>

## Parameters

<ParamField body="steps" type="object[]" required>
  Each item: `tool`, `args`.
</ParamField>

## Example

```json theme={null}
{
  "steps": [
    {
      "tool": "browser_navigate",
      "args": {
        "tabId": 1234,
        "url": "https://example.com/login"
      }
    },
    {
      "tool": "browser_snapshot",
      "args": {
        "tabId": 1234
      }
    }
  ]
}
```
