List organizations
list_organizationsDiscovers organizations visible to the token, filters them by the enterprise allowlist, and flags protected organizations so you can identify valid org logins for read-only administration.
Instructions
List the organizations the token can see (filtered by GHE_ORG_ALLOWLIST), each flagged if it is protected (readable but never mutated). Start here to discover valid org logins.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||