extract_links
Extract all links from a web page. Optionally filter by domain, set timeout, and limit the number of links returned.
Instructions
Extract all links from a web page.
Args: url: The URL to fetch filter_domain: If True, only return links to the same domain timeout: Request timeout in seconds max_links: Maximum links to return (default 50, max 200)
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 | ||
| filter_domain | No | ||
| timeout | No | ||
| max_links | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |