web_fetch_links
Extract all links from a webpage, returning a markdown list with text and URL. Optionally filter links by regex pattern or restrict to external links.
Instructions
Extract all links from a page. Returns a markdown list of links with text and URL. Optionally filter by pattern or external links only.
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": "web_fetch_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to extract links from | |
| filter_pattern | No | Regex pattern to filter link URLs (e.g., '/docs/') | |
| external_only | No | Only return external links | |
| timeout | No | Request timeout in seconds (default 30, max 120) |