Repo AI-contribution preflight
repo_ai_policyBefore a coding agent opens a PR: does this GitHub repo ban, restrict or allow AI-assisted contributions? Reads AI_POLICY/CONTRIBUTING/AGENTS.md/PR template/SECURITY and returns a verdict, evidence lines with file:line, and build/test commands from AGENTS.md. Keyword heuristic: read the evidence. Price: $0.01 USDC on Base per call, paid with x402 (MCP transport: an unpaid call returns the x402 PaymentRequired object; retry with params._meta["x402/payment"]). Same tool over HTTP: GET /api/repo-ai-policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/name or github.com URL (public repos) |