Extract several URLs
batch_extractExtract LLM-ready Markdown from up to 20 URLs in one request, avoiding repeated calls and returning per-URL errors so one failed page does not break the batch.
Instructions
Extract LLM-ready content from up to 20 URLs in one request. Prefer this over repeated extract calls when grounding an answer in several pages: it is one round-trip, and a URL that fails returns an item with an error instead of failing the batch. Returns results (url, page_content as Markdown, error when that URL failed; metadata with title, mode_used and, when cut, truncated and total_chars) and meta (requested, succeeded, failed). Cloud: billed per URL like extract; failed and empty URLs are free.
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": "batch_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Preferred page language, sent as Accept-Language, such as en or de. | |
| mode | No | auto (default): fast HTTP fetch, browser render if the page comes back empty. fast: HTTP only. rendered: always a browser, for JavaScript-heavy pages. | auto |
| urls | Yes | Absolute URLs to fetch and extract. Duplicates are dropped. | |
| clean | No | Article-only extraction (default true). Set false for landing pages, docs indexes and dashboards, where content sits in navigation or feature blocks. | |
| region | No | Two-letter country code applied to every URL, e.g. US or DE. On Cloud this adds 1 credit per extracted URL. | |
| maxChars | No | Max characters of content per URL. Default splits 40000 across the batch (at least 2000 each). Longer pages are cut and marked metadata.truncated. | |
| minRunes | No | Minimum text length (in runes) before auto mode escalates to a browser render. 0 uses the built-in floor. | |
| useLlmsTxt | No | For a site root URL, return the site's /llms-full.txt or /llms.txt instead when it has one. |