Invite a member
invite_memberInvite a user by email to an organization with a role and optional project access, sending an acceptance email; existing members are skipped. Requires preview confirmation first.
Instructions
Invite someone to the organization by email with a role (owner, manager or viewer) and, optionally, the projects they will reach (projectAccess); they get an email to accept. Inviting an address that already belongs to a member creates nothing and says so. Requires a confirmationToken: call preview_operation with tool "invite_member" and these arguments first, show the returned plan to the user, and call this tool only after the user explicitly agrees. Needs the organization:manage permission and the owner role.
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": {
"organizationId": "<organizationId>",
"email": "<email>",
"role": "<role>",
"confirmationToken": "<confirmationToken>"
},
"name": "invite_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| Yes | |||
| requestId | No | Optional idempotency key, 8-255 printable characters. Reuse it only to retry this same call. | |
| projectAccess | No | Optional. The projects the invitee will reach once they accept: {"mode": "all"}, the default, or {"mode": "selected", "projectIds": [...]} with 1 to 500 distinct project ids of this organization from list_projects; a repeated id counts once. An owner always reaches every project, so an owner invitation cannot carry a selection. | |
| organizationId | Yes | ||
| confirmationToken | Yes |