Draft an llms.txt from a sitemap
llms_txt_from_sitemapPaste sitemap.xml, or one URL per line, and get a draft llms.txt: URLs grouped into H2 sections by path, titles from slugs, lastmod kept, and a TODO wherever only you can write the sentence. A sitemap index is reported as one. Example: xml='https://e.com/docs/a\nhttps://e.com/blog/b'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The sitemap XML, or a plain list of URLs. | |
| title | No | H1 to use; default from the hostname. | |
| summary | No | The blockquote line. | |
| max_per_section | No | Links per section, default 40. |