extract_links
Extract all hyperlinks from a web page, resolving to absolute URLs. Optionally restrict to same domain or limit results.
Instructions
Extract all hyperlinks from a web page, resolved to absolute URLs. Optionally restrict to links on the same domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL (http/https). Scheme-less input like `example.com` is allowed. | |
| same_domain | No | Only return links pointing to the same hostname as the page. | |
| limit | No | Maximum number of links to return. | |
| render | No | auto=fast static fetch, fall back to headless browser if the page needs JS; static=never use a browser; browser=always render with Playwright (handles SPAs). | auto |