extract_links
Extract outbound links from any public URL, returning unique hrefs with link text as a markdown list. Optionally filter to same-origin links.
Instructions
Use this when you need outbound links from a public page. It opens the URL and returns unique hrefs with link text. Returns a markdown list. Optionally restrict to the same origin.
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 | Absolute HTTPS URL to open. | |
| limit | No | Max links to return (1–100). Default: 50. | |
| same_origin | No | If true, only keep links on the page origin. Default: false. |