Run steps
batchRuns multiple browser tools in one call, in order, passing each step's result to the next to save round trips. Use it for known sequences like navigate, fill, submit, and read.
Instructions
Run a batch of several tools in one call, in order, passing results forward.
Saves a round trip per step for sequences you already know, such as navigate, fill a form, submit, read the result. Each step is validated when it runs, and nothing is rolled back: a browser cannot undo a click. At most 50 steps per call; refer to an earlier step's result as "$N.field". Returns every step's outcome; failed_at names the step that stopped it.
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": {
"steps": "<steps>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Steps to run in order, each {"tool": name, "arguments": {...}}. A string argument '$N.path' is replaced by that field of step N's result (0-based; list items by index, e.g. '$0.tabs.1.id'); '${N.path}' substitutes inside a longer string. Example: [{"tool": "navigate", "arguments": {"url": "https://example.com"}}, {"tool": "get_text_content", "arguments": {}}] | |
| stop_on_error | No | Stop at the first failing step (default). false runs every step and reports each outcome. Example: true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| summary | Yes | One line saying what happened. | |
| completed | Yes | Steps that succeeded. | |
| failed_at | No | Index of the step that stopped the batch. |