generate_llms_txt
Generate a publishable llms.txt for a website from the pages found on it (llmstxt.org format), or validate the llms.txt it already has. Returns the file as text to save at the site root as /llms.txt. Use it when someone asks to create, fix or check llms.txt, or to make a site easier for AI engines to read. Nothing is invented: only pages that exist are listed, and the result says how many pages were read.
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": {
"domain": "<domain>"
},
"name": "generate_llms_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The website to check, like acme.com. A full URL is accepted and reduced to its domain. | |
| validate_existing | No | True to check the llms.txt the site already serves instead of writing a new one. |