llms.txt for a link
llms_txtGet an llms.txt index for any link: title, one-line summary, and sections of the most useful links with short descriptions. Defaults to the site’s own llms.txt when available. Use native:false to generate a draft for check_llms_txt. Source and cache metadata are in structuredContent.
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": "llms_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any public http(s) link, e.g. "docs.stripe.com/payments", "github.com/honojs/hono", a PDF or a video URL. The scheme is optional. | |
| crawl | No | Channels and profiles only: how many newest items are opened and described (0–10). Defaults: YouTube 5, GitHub 5, Instagram 4, TikTok 4, X 5. A non-default depth is cached apart; building it counts as ceil(crawl ÷ default) new links (at least 1). | |
| fresh | No | Bypass the 24h cache. A rolling 60-second cooldown per caller and normalized URL is shared by both Reader tools, regardless of native. Ordinary cached reads still work. | |
| native | No | Prefer a published llms.txt. Set false to generate instead: content[0].text is the exact sanitized file and any warning is in a separate block. Does not bypass the cache. | |
| offset | No | Mode full: skip this many linked pages and read the next slice. Pass structuredContent.nextOffset to continue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Normalized link. | |
| mode | Yes | ||
| cached | Yes | ||
| source | Yes | `native` = published by the site; `generated` = made by llms.ink. | |
| warnings | No | Sanitization notices: no removed text or source-controlled carrier labels. | |
| nextOffset | No | Mode full: pass as `offset` to read the next slice of linked pages; absent on the last slice. | |
| generatedAt | Yes |