generate_robots_txt
Generate a corrected robots.txt for a site: keeps every existing rule, disables only rules that block search engines or AI answer crawlers from the whole site (training crawlers stay unless you ask), adds the Sitemap line, shows who can crawl before and after, and says where to paste it. Read-only: changes nothing. Uses 2 calls (1 if no change is needed).
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": {
"url": "<url>"
},
"name": "generate_robots_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any URL on the site; the origin is used | |
| job_id | No | Fix job id (fx_...) from fix_top_issues; counts this call on that job | |
| ai_crawlers | No | answer_engines (default): unblock AI answer crawlers only; all: also AI training crawlers; keep: leave AI rules as is |