extract_links
Fetch a webpage and return its de-duplicated absolute URLs, with optional filtering by same domain, regex pattern, and result limit.
Instructions
Fetch a page and return its links (de-duplicated, absolute URLs).
same_domain: keep only links on the same host as url.
pattern: keep only links whose URL matches this regular expression.
limit: maximum number of links to return (1-2000).
Each link is {"url": ..., "text": ..., "nofollow": bool}.
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 | ||
| limit | No | ||
| pattern | No | ||
| obey_robots | No | ||
| same_domain | No |