links
Extract a page’s hyperlinks and rank them by relevance to a query, so you can choose which URLs to fetch.
Instructions
List a page's links. With query, ranks them by relevance so you can pick which to fetch.
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": "links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page whose links to list. | |
| query | No | Rank links by relevance to this. Without it, links are listed in page order. | |
| keywords | No | Exact terms or synonyms that should match, to sharpen the query. | |
| max_links | No | Maximum links to return (default 30). |