Extract links
extract_linksList hyperlinks from a web page as absolute URLs with anchor text, and optionally filter by a substring to navigate a site or find specific sections.
Instructions
List the hyperlinks on a page as absolute URLs with their anchor text. Useful for navigating a site or finding a specific section. Optionally filter by a substring.
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 | The page URL, including http:// or https:// | |
| filter | No | Only return links whose text or URL contains this substring. |