List organization rulesets
list_org_rulesetsLists an organization's rulesets to inspect org-wide branch protection policies that replace per-repository settings.
Instructions
List the organization's rulesets (the modern, org-wide replacement for per-repo branch protection).
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": {
"org": "<org>"
},
"name": "list_org_rulesets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization login (must be within GHE_ORG_ALLOWLIST when that is set) |