FetchV2
v2.2.0Fetch and extract web pages, discover links, and read llms.txt documentation indexes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fetch
Fetch a single webpage and extract its main content as clean markdown. USE THIS TOOL WHEN: - You need to read an article, documentation page, or blog post - You want clean, readable text without boilerplate (navbars, ads, footers) - The user provides a specific URL to read DO NOT USE WHEN: - You need to fetch multiple URLs (use fetch_batch instead - fewer round trips) - You want to discover what pages exist on a site (use discover_links first) PAGINATION: Large pages are automatically truncated. The response will include 'use start_index=N to continu…
| Parameter | Type | Description |
|---|---|---|
url * | string | The webpage URL to fetch (must be http:// or https://) |
bypass_robots_txt | boolean | Skip robots.txt check. Only for user-initiated requests. |
get_raw_html | boolean | Skip extraction and return raw HTML. Use when you need original markup or extraction fails. |
include_links | boolean | Preserve hyperlinks in markdown. Enable to follow references. |
include_metadata | boolean | Include title, author, date at top. Disable to save tokens. |
include_tables | boolean | Preserve tables in markdown. Disable for text-only articles. |
max_length | integer | Maximum characters to return. Use 1000-2000 for summaries, 5000 (default) for full content. |
start_index | integer | Character offset for pagination. Use the value from 'start_index=N' in truncated responses. |
fetch_batch
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: 1. discover_links(url="https://docs.example.com", filter_pattern="/api/") 2. fetch_batch(urls=[...returned links...], max_le…
| Parameter | Type | Description |
|---|---|---|
urls * | array | List of webpage URLs to fetch (max 10). URLs are fetched sequentially and results combined. |
get_raw_html | boolean | Skip content extraction and return raw HTML for all URLs. |
max_length_per_url | integer | Character limit per URL. Use 1000-1500 when fetching many pages. Default 2000. |
discover_links
Discover all links on a webpage. Use this BEFORE fetch_batch to find relevant URLs. USE THIS TOOL WHEN: - Exploring a documentation site to find relevant pages - Building a list of URLs to fetch in batch - Finding all subpages under a section (e.g., all /api/ docs) - Checking what content exists before deciding what to read RECOMMENDED WORKFLOW: 1. discover_links(url="https://docs.example.com/", filter_pattern="/guide/") 2. Review the returned links and select relevant ones 3. fetch_batch(urls=[selected_urls], max_length_per_url=1500) FILTER EXAM…
| Parameter | Type | Description |
|---|---|---|
url * | string | The webpage URL to scan for links (e.g., a docs index or sitemap) |
filter_pattern | string | Regex to filter links. Examples: '/docs/', '\.pdf$', 'api|guide'. Leave empty for all links. |
fetch_llms_txt
Fetch and parse an llms.txt file to discover LLM-friendly documentation. USE THIS TOOL WHEN: - A site provides an llms.txt file for AI-friendly content discovery - You need to understand what documentation is available - You want to fetch structured docs in a single request WHAT IS llms.txt: A proposal for sites to provide LLM-friendly content at /llms.txt. It's a markdown file listing documentation links with descriptions. See https://llmstxt.org for the specification. WORKFLOW: 1. fetch_llms_txt(url="https://example.com/llms.txt") → Get struc…
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to an llms.txt file (e.g., https://example.com/llms.txt) |
include_content | boolean | If true, also fetch content of all linked pages. Default false. |
max_length_per_url | integer | When include_content=True, max chars per linked page. Default 2000. |