batch_actions
Run browser actions and form-filling steps in order, including navigation and extraction for multi-page reading; stop on submit-guard blocks and optionally return a post-run snapshot.
Instructions
Run actions or smart_fill_form steps in order, including navigate/extract for multi-page reading. Stops on Submit guard blocks; optional post-batch snapshot.
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_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | act_fast or smart_fill_form steps (incl. reload/back/forward); also {action:"navigate",url} (GET only), {action:"extract",format:"text"|"markdown",selector?,maxChars?}, {action:"collect",selector,scrolls?:5,waitMs?:400,maxItems?:100,maxChars?:8000,fields?:["text","href","id"],textSelector?} (scroll, read matching elements each time, dedupe: virtualized feeds). | |
| tabId | No | ||
| expect | No | Submit evidence to wait for; returns submitVerified. | |
| allowSubmit | No | ||
| snapshotMode | No | ||
| snapshotQuery | No | ||
| submissionKey | No | Idempotency key; repeat submits are refused. | |
| allowDuplicate | No | ||
| returnSnapshot | No | ||
| continueOnError | No | ||
| observeAftermath | No | Observe click aftermath for each action (adds up to 800 ms per click). | |
| snapshotMaxChars | No |