scrape_batch
Fetch up to five web pages in one call and return ordered JSON content in markdown, text, HTML, or schema.org data, with per-URL errors for failed pages.
Instructions
Fetch up to 5 web pages at once. Returns a JSON array in input order, one item per URL: url, format, content, plus title and note when present; or url and error if that page failed. content is the page in one format, markdown by default. Pick another with the format param:
text: plain text, no links or headings
html: raw HTML, for CSS selectors or data hidden in the markup
ld_json: schema.org data (price, rating, author...) If a page has no data in that format, markdown is returned instead, with a note. No JavaScript rendering. Pages that take longer than 35 s time out (45 s when only one URL is sent). The whole result is cut at 40,000 characters, shared between pages. To read the rest of a cut page for free, call scrape_as_markdown with its url and the snapshot_id and start values from that item's next field.
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": "scrape_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| format | No | markdown |