fetch_batch
Fetch up to 10 webpages in one request and return combined content. Reduces round trips when comparing pages or gathering documentation context.
Instructions
Fetch multiple webpages in a single request and return combined content.
USE THIS TOOL WHEN:
You have 2-10 URLs to read (e.g., from discover_links results)
Comparing content across multiple pages
Gathering context from several documentation pages at once
KEY BENEFIT: One tool call instead of multiple fetch() calls = fewer round trips, faster results, and reduced overhead in supervised/approval workflows.
WORKFLOW EXAMPLE:
discover_links(url="https://docs.example.com", filter_pattern="/api/")
fetch_batch(urls=[...returned links...], max_length_per_url=1500)
NOTES:
Each URL's content is separated by '---' dividers
Failed URLs show inline errors without stopping other fetches
Robots.txt is NOT checked for batch fetches (assumes prior discovery)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | List of webpage URLs to fetch (max 10). URLs are fetched sequentially and results combined. | |
| get_raw_html | No | Skip content extraction and return raw HTML for all URLs. | |
| max_length_per_url | No | Character limit per URL. Use 1000-1500 when fetching many pages. Default 2000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |