Write a robots.txt with your AI bot choices
doorman_write_robots_txtUse when the user wants to allow or block AI training, AI search or assistant bots on their site and needs the robots.txt lines. Takes an optional existing robots.txt plus a choice of "in" or "out" for each of three groups (training, ai_search, assistants) and returns a complete robots.txt that keeps existing rules, adds one clean group per choice and a shared content-signal line. Example: {"training": "out", "ai_search": "in", "assistants": "in"}. Returns text to paste at /robots.txt; it does not change any site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| training | No | Let AI training bots in or keep them out (default out). | |
| ai_search | No | AI search and answer engines (default in). | |
| assistants | No | Assistants that open a page because a person asked (default in). | |
| robots_txt | No | Current robots.txt text to keep (optional). |