Discover links from a page
discover_linksReturn approved HTTPS links from one starting page, with source and link labels. Reads only the starting page. Use an optional query to rank and filter links by their labels and destination paths.
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": "discover_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Approved public HTTPS URL. | |
| limit | No | Maximum number of links to return. | |
| query | No | Literal phrase or words to match. | |
| sameHost | No | Keep only links to the final hostname of the starting page. |