page.visit_batch
Visit many URLs in parallel, extract text, markdown, or custom JS from each, and return per-page status so one bad page never stalls the batch.
Instructions
Visit many URLs and extract from each, with a separate status per page (ok / error / timeout) so one bad page never stalls the rest. Runs in background tabs (concurrency, default 2) with a hard per-page deadline; a page that misses it has its tab reset and the batch moves on. The run lives in the daemon: this call waits up to wait_ms, returns every finished page, and the rest keeps going - poll page.batch_status, so a client timeout never loses results. Sends MCP progress notifications per page when the client asks for them. extract: "text" (innerText, default), "visible_text", "markdown" (doc capture; save:true also stores each as a document), or "none"; expression runs your own JS per page and returns its value.
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": {
"urls": "<urls>"
},
"name": "page.visit_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | With extract:"markdown", also store each page in the doc library. | |
| urls | Yes | Absolute URLs, at most 500. | |
| label | No | ||
| extract | No | ||
| wait_ms | No | How long this call waits before returning what is done (default 60000, 0 returns at once). | |
| delay_ms | No | Pause between pages per tab. Use it on someone else's server. | |
| selector | No | Extract from this element instead of the whole page. | |
| max_chars | No | Text kept per page (default 4000, max 200000). text_length gives the full size. | |
| settle_ms | No | Extra wait after load, before extracting. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| collection | No | ||
| expression | No | JS evaluated on each page after load; its JSON value is returned as value. | |
| wait_until | No | ||
| concurrency | No | Parallel tabs, 1-6. Default 2. | |
| page_timeout_ms | No | Hard deadline per page, navigation and extraction together. Default 45000. |