browser_batch
Execute a sequence of browser actions in a single call against an existing session.
Use this when you already know the full sequence of steps — it reduces round trips and is faster than calling each tool individually.
Actions run sequentially and stop at the first failure unless stop_on_error is false. Each step result is returned in the results array at the same index.
Note: screenshots in batch results are returned as base64 strings inside the JSON; browser_screenshot returns them as images.
A batch can include evaluate, so it can change or delete page state the same way browser_evaluate can.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"actions": "<actions>"
},
"name": "browser_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | Ordered list of actions to perform. Each action has a 'type' field plus type-specific parameters. | |
| session_id | Yes | Session ID returned by browser_navigate | |
| stop_on_error | No | Stop executing on the first failed action (default true) |