Members and invitations
List organization members, manage their roles and ownership, and invite people to join.
List organization members, manage their roles and ownership, and invite people to join.
These are action names. In default compact mode, call the indicated group tool with {"action":"<action-name>","params":{...}}; the arguments below go inside params. In ?mode=all, call the action name directly with those arguments. list_github_connections and read_docs are direct tools in both modes. Expand each schema for nested fields, enum values and validation constraints. Successful results are JSON in both text content and structuredContent; failures use isError and structuredContent.error.
These actions use sharing and sharing_write in compact mode. Organization roles are admin, developer and viewer. Removing a member ends access in this organization; resources remain and apps keep running. Only the owner can transfer ownership. details: true adds member activity and resource counts only for admins using a credential that is not limited to projects.
The OpenAI profile calls individual actions, omits get_byod_token and redeem_voucher, and restricts credential inputs and environment outputs. The input schemas below describe the standard catalog; profile-specific schemas are included where they differ.
list_members
List the members of an organization and their roles, admins first. Use it to find a member's userId for sharing, a role change or removal; with details, admins also see each member's last sign-in.
Group: sharing · Behavior: Read
Compact tool: sharing · Action: list_members
MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false
Permissions and REST equivalents
members.list
GET /members
members:read
Arguments
details
boolean
No
For admins: also each member's last sign-in and what they created (lastSignInAt, created)
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
members(array<object>): See the complete response schema below.
Operation-specific errors: 400 org_required.
set_member_role
Change a member's role in an organization: admin, developer or viewer. Use it when an admin asks to promote or demote someone; invitations they sent above the new role are withdrawn.
Group: sharing · Behavior: Write
Compact tool: sharing_write · Action: set_member_role
MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: true · openWorldHint: false
Permissions and REST equivalents
members.update
PATCH /members/{userId}
members:write
Arguments
role
"admin" / "developer" / "viewer"
Yes
Their new role
userId
string
Yes
The member's user id, from the member list
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
userId(string): See the complete response schema below.role("admin" / "developer" / "viewer"): See the complete response schema below.
Operation-specific errors: 409 last_admin, 409 owner, 409 role_changed, 400 org_required, 403 key_project_restricted.
remove_member
Remove a member from an organization, or leave it. To leave, pass the user's own userId. Use it only when the user asks. Their access, API keys and connected apps in the organization end; what they created stays and their apps keep running.
Group: sharing · Behavior: Write
Compact tool: sharing_write · Action: remove_member
MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: false
Requires confirm: true for this irreversible action.
Permissions and REST equivalents
members.remove
DELETE /members/{userId}
members:write
Arguments
userId
string
Yes
The member's user id, from the member list
confirm
true
Yes
Must be true: this action cannot be undone
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
userId(string): See the complete response schema below.removed(true): See the complete response schema below.warning(string or null): Set when a grid they had contributed to could not be fully released
Operation-specific errors: 409 last_admin, 409 owner, 400 org_required, 403 key_project_restricted.
transfer_ownership
Hand an organization to another member, who becomes its owner. They become an admin too, and the previous owner stays an admin. Use it only when the owner asks to hand the organization over.
Group: sharing · Behavior: Write
Compact tool: sharing_write · Action: transfer_ownership
MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: false
Requires confirm: true for this irreversible action.
Permissions and REST equivalents
members.owner.transfer
POST /members/owner
members:write
Arguments
userId
string
Yes
The member's user id, from the member list
confirm
true
Yes
Must be true: this action cannot be undone
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
ownerUserId(string): The new owner
Operation-specific errors: 400 already_owner, 409 owner_changed, 409 role_changed, 400 org_required, 403 key_project_restricted.
list_sent_org_invitations
List the pending invitations to join an organization, newest first. Use it to check whether someone was already invited, or before revoking an invitation. Admins see every one, a developer the ones they sent.
Group: sharing · Behavior: Read
Compact tool: sharing · Action: list_sent_org_invitations
MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false
Permissions and REST equivalents
members.invitations.list
GET /members/invitations
members:read
Arguments
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
invitations(array<object>): See the complete response schema below.
Operation-specific errors: 400 org_required, 403 key_project_restricted.
invite_member
Email someone an invitation to join an organization. The role is the user's or below, and the link is good for 7 days. Use it when the user asks to add a person to the organization. Inviting an address again sends a fresh link; addTo also adds them to a project, app or grid when they join.
Group: sharing · Behavior: Write
Compact tool: sharing_write · Action: invite_member
MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: true
Permissions and REST equivalents
members.invitations.create
POST /members/invitations
members:write
Conditional
addTo.resourceType is project
projects:admin
Conditional
addTo.resourceType is app
apps:admin
Conditional
addTo.resourceType is grid
pools:admin
Arguments
email
string
Yes
Who to invite
role
"admin" / "developer" / "viewer"
Yes
The role they join with: admin, developer or viewer
addTo
object
No
A project, app or grid of the organization the caller may add people to
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
id(string): Invitation idemail(string): See the complete response schema below.role("admin" / "developer" / "viewer"): The role they join withinvitedBy(object or null): See the complete response schema below.expiresAt(string): ISO 8601 timestamp (UTC)expired(boolean): Past its date; inviting the address again sends a fresh linkaddsTo(array<string>): Names of the projects, apps and grids they are added to on joiningwarning(string or null): Set when the invitation was saved but its email could not be sent
Operation-specific errors: 400 invalid_email, 403 invites_admins_only, 403 role_too_high, 409 already_member, 409 invitation_exists, 429 resend_too_soon, 429 invitation_limit, 400 org_required, 403 key_project_restricted.
revoke_org_invitation
Withdraw a pending invitation to join an organization; its link stops working. Use it when the user asks to cancel an invitation.
Group: sharing · Behavior: Write
Compact tool: sharing_write · Action: revoke_org_invitation
MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: false
Permissions and REST equivalents
members.invitations.revoke
DELETE /members/invitations/{invitationId}
members:write
Arguments
invitationId
string
Yes
Invitation id, from the organization's pending invitations
org
string
No
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Result
invitationId(string): See the complete response schema below.revoked(true): See the complete response schema below.
Operation-specific errors: 400 org_required, 403 key_project_restricted.
Was this helpful?
