List links from a page (sitemap/llms.txt/RSS-first)
linksEnumerate URLs under a site or page without fetching each one, drawing from sitemaps, llms.txt, feeds, or page content, then filter results to find the right page before fetching.
Instructions
Enumerate URLs under a site or page without fetching each one. Tries, in this order and regardless of what is cached: sitemap.xml (from robots.txt or the conventional path; gzip is unpacked up to the body-size limit and a warning: line is added when it cannot be read), then the llms.txt the page advertises, then RSS/Atom feeds, then falls back to links found in the page itself. The response header reports which source was used (source:), the count:, and (truncated) when more than 200 links were cut. Each link is one line, - <title> — <url> (title omitted when unknown; for llms.txt it is name: description). filter narrows by substring or * glob against URL and link text; an empty result states whether the filter removed everything or the source had no links. Each source is cached like a page (15 minutes by default, up to 24 hours when Cache-Control max-age says so), so repeating the call with another filter does not hit the site again. Use it to find the right page before fetch. It does not return page content, reads the first 3 child sitemaps of a sitemap index in order and stops reading further children once 200 links are collected (filter is applied afterwards, so a URL found only in an unread child cannot be matched), and never guesses an llms.txt location.
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 | Starting URL | |
| filter | No | Substring match against URL/link text, or a glob using * |