check_permission
Check if a domain allows an AI agent to scrape, summarize, train, or search its content. Returns allowed status, reason code, and policy signals.
Instructions
Check whether an AI agent is permitted to perform a specific action on a given domain.
Returns a structured compliance decision with allowed (bool), a reason code, a human-readable explanation, the domain's stance, and the signals that informed the answer. Use this before your agent scrapes, summarizes, trains, or searches content from a site.
Reason codes: compliant — action is explicitly permitted action_blocked — the specific use-case (training/search/ai_input) is blocked bot_blocked — the named agent is explicitly listed as blocked stance_blocks_all — the domain blocks all AI access site-wide no_policy — no policy is on file; treat as block per spec guidance unspecified — the action or use-case is not addressed by the policy lookup_error — the registry could not be reached
Args: domain: The domain to check (e.g. "nytimes.com"). action: One of: train, scrape, summarize, search, index, cache, inference, ai_input. agent_id: Optional self-reported agent name (e.g. "GPTBot", "ClaudeBot"). If provided and listed in the domain's blocked-bots list, the decision is bot_blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| domain | Yes | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |