robots.txt
robots_txtrobots.txt for search and AI crawlers. Pick with mode: test = Which crawlers may fetch a URL, and the rule that decides. Needs url. ai_policy = Rules per AI crawler: allow AI search, block training. Needs url, policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full address of the page, for example https://example.com/pricing. | |
| mode | No | Default test. | |
| detail | No | brief = short summary. | |
| policy | No | Which AI crawlers to allow. | |
| memory_key | No | site_memory key, records this call. | |
| robots_txt | No | Optional robots.txt content to test instead of the live file. | |
| user_agents | No | Crawler names, for example Googlebot, GPTBot, ClaudeBot, PerplexityBot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||