validate_llms_txt
Check llms.txt files for spec compliance: structure, ordering, link format, and optionally detect broken links.
Instructions
Validate an existing llms.txt or llms-full.txt against the spec: structure, section ordering, link format, and (optionally) broken-link detection.
Read-only. One HTTP GET when given url; zero network when given content. Optional link-check issues HEAD requests against each link if check_links is true.
Deterministic; no LLM.
When to use: auditing an llms.txt you already have. To generate one from scratch, use generate_llms_txt.
Either url or content must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of an existing llms.txt or llms-full.txt to validate (e.g. `https://example.com/llms.txt`). Either this OR `content` is required. | |
| content | No | Raw llms.txt content as a string. Use this to validate a file offline without fetching. Either this OR `url` is required. | |
| check_links | No | If true (default), HEAD each linked URL to detect broken links. Set false to skip link checks for faster, network-light validation of just the structural rules. |