Generate an AI-crawler robots.txt
generate_robots_txtBuilds a robots.txt file that explicitly allows or blocks named AI crawlers from Citehound’s tracked list of 10, plus an optional Sitemap line. Pure text generation — fetches nothing. Call list_ai_crawlers first if you need the exact tracked crawler names.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_robots_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow | No | Crawler names to explicitly allow, e.g. ["GPTBot", "ClaudeBot"]. Must be names from the tracked list. | |
| block | No | Crawler names to explicitly block. Must be names from the tracked list, and must not overlap with "allow". | |
| sitemap_url | No | Optional absolute sitemap URL to add as a Sitemap: line, e.g. "https://example.com/sitemap.xml". |