web_fetch
Extract clean text from web pages. Use 'text' mode for full content or 'highlights' mode to get relevant excerpts for a specific query.
Instructions
Extracts page content as clean text. Supports two modes: "text" (full page, default) and "highlights" (most relevant excerpts for a query, ~10x fewer tokens). Prefer "highlights" with a query for factual searches. Use "text" for deep analysis. Ideal for reading articles, documentation and blogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full page URL to extract content from (ex: https://example.com) | |
| mode | No | Mode: "text" returns full page; "highlights" extracts relevant excerpts (requires query) | text |
| query | No | Query to extract highlights — use the same query from web_search that led to this URL | |
| maxChars | No | Maximum content characters (100-50000, default 5000) |