fetch_robots
Fetch and parse robots.txt to determine if a target URL is crawlable for a given user-agent, returning the verdict and matching rules.
Instructions
Fetch and parse the robots.txt for a given origin, then tell the caller whether a target URL is crawlable by a given user-agent. Follows the Google-style longest-match rule with Allow-wins-on-tie. Returns the raw robots.txt, parsed groups, sitemap references, and the allow/deny verdict with the matching rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL to check. We derive origin + path automatically. | |
| timeout_ms | No | ||
| user_agent | No | User-agent string to match against groups (default '*') | |
| max_redirects | No | ||
| allow_private_hosts | No |