Fetch many URLs concurrently
fetch_batchFetch multiple web pages in parallel, returning Markdown or JSON. Per-URL failures are reported individually, so one broken link doesn't stop the whole batch.
Instructions
Fetch a list of URLs in parallel. Per-URL failures do not raise.
Best for:
- 2+ URLs you want to read in one round-trip.
- Reading the top N results of a previous `search` call.
Not recommended for:
- A single URL -> `fetch` (no list-wrapping overhead).
- "Search and then read" -> `research` collapses both into one tool call.
- PDFs/DOCX -> `read_doc` per file.
Returns:
- markdown (default): each page rendered as a Markdown section, separated
by horizontal rules; failed URLs become inline error notes.
- json: list[dict], one entry per URL, with `error` set on failures.
Common mistakes:
- Passing a single URL inside a 1-element list — use `fetch` directly.
- Assuming an exception means the whole batch failed; check each item's
`error` field instead.
Args:
urls: List of absolute http(s) URLs (max 20 per call).
render: Same as `fetch`.
format: "markdown" or "json".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| format | No | markdown | |
| render | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |