fetch_links
Fetch an HTML page and extract all outbound links as absolute URLs with anchor text and internal/external classification. Use to analyze link structures, filter by type, and deduplicate results for SEO or web research.
Instructions
Extract every outbound link from an HTML page, resolved to absolute URLs. Each entry includes href, anchor text, optional rel/title, and an internal/external classification (bare-domain and www. treated as the same host). Anchors (#), javascript:, mailto:, tel:, data:, and file: URIs are skipped. Respects .
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| limit | No | Cap on returned links (default 1000) | |
| dedupe | No | Drop duplicate hrefs (default true) | |
| filter | No | Filter by type (default 'all') | |
| max_bytes | No | ||
| timeout_ms | No | ||
| user_agent | No | ||
| max_redirects | No | ||
| allow_private_hosts | No |