openai_invite_user
Invite a new user to your OpenAI organization by email, assigning a role and optional project memberships. The invitation starts as pending until the user accepts.
Instructions
Invite a new user to the OpenAI organization by email.
The invite must be accepted by the user before they gain access. Its
"status" starts at `pending` until accepted.
Args:
email: Email address to invite.
role: Organization role to grant — `owner` or `reader`.
projects: Optional list of `{"id": <project_id>, "role": "owner"|"member"}`
to grant project membership at the same time the invite is accepted.
If omitted, the user is invited to the default project (legacy
behavior). Pass an empty list to invite them to no projects at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| Yes | |||
| projects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |