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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "extract_links"
}
}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 |