web_fetch
Fetch a URL and return the main content as clean markdown, with navigation, cookie banners, footers, and related-post chrome removed. Extracts title, byline, publication date, and excerpt. Content detection is driven by link density rather than class names, so it survives CSS refactors. Reports how much of the page was retained and whether it had to fall back to the full body, so you can tell a clean extraction from a guess. Honours robots.txt; refuses private addresses and pages behind authentication. Costs $0.003000 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page to analyse. Fetched respecting robots.txt. | |
| html | No | Raw HTML, if you already have it. Takes precedence over url. | |
| max_words | No | Truncate the markdown at this many words. Truncation is reported. | |
| include_links | No | Keep inline links as markdown. Disable to cut tokens when only prose matters. |