generate_llms_txt
Use this to generate an llms.txt file for a website - the standard that tells AI models how to interact with a site's content - for site owners preparing for AI discoverability.
Instructions
Use this to generate an llms.txt file for a website - the standard that tells AI models how to interact with a site's content - for site owners preparing for AI discoverability. Not for reading a site's existing llms.txt (fetch_url on /llms.txt). Cost: 5 credits. Example: generate_llms_txt({url: "https://example.com"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The website URL to generate llms.txt for | |
| format | No | Output format: llms.txt, llms-full.txt, or both | both |
| outputOptions | No | Output customization and organization details | |
| analysisOptions | No | Website analysis options for depth, scope, and detection | |
| complianceLevel | No | Applies only with outputOptions.robotsStyle:true, where it sets how many paths the llms.txt Disallow list covers (basic < standard < strict). The default llmstxt.org markdown is the same at every level; llms-full.txt only records the level as a label. | standard |
| max_inline_chars | No | Largest result to return inline, in characters of its JSON. Over it, the call returns a preview plus a result_handle for read_result instead of the whole result (default 40,000; env CRAWLFORGE_MAX_INLINE_CHARS) |