check_ai_policy
Classify a repository's AI-assisted contribution policy as banned, disclosure-required, allowed, or unknown, with quoted sources, and stop PR preparation when contributions are banned.
Instructions
Classify the repo's stance on AI-assisted contributions: banned | disclosure_required | allowed | unknown, with quotes and their source files (CONTRIBUTING, AI_POLICY*, .github/*, README, CODE_OF_CONDUCT). Conservative: ambiguous banning language counts as banned. If banned, do NOT prepare a PR: tell the user and stop. finding_id is optional and checks that the finding exists; Lite does not record the result.
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": {
"repo": "<repo>"
},
"name": "check_ai_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| finding_id | No |