github_create_org_invitation
Invite a user to a GitHub organization via user ID or email, configure their role, and optionally assign team memberships.
Instructions
Invite a user to the organization by GitHub user ID or by email.
Exactly one of invitee_id or email must be provided.
Args:
invitee_id: GitHub numeric user ID of the person to invite.
email: Email address of the person to invite (for users without a known ID).
role: Invitee role — "direct_member", "admin", or "billing_manager"
(default: "direct_member").
team_ids: Optional list of team IDs to add the invitee to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | direct_member | |
| No | |||
| team_ids | No | ||
| invitee_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |