invite_member
Invite a person to the active team by email and obtain a join link to share. Only the team owner or an admin can send the invitation, granting member, viewer, or admin roles.
Instructions
Invite someone to the active team (tenant) by email. Sends an invitation email with a join link and returns that link. Only the team owner or an admin can invite; the call is rejected for other roles. role defaults to "member" and may be "viewer" (read-only) or "admin" (only the owner may grant admin). You cannot invite someone as the owner. Fails if the email is already a member or already has a pending invite, or if the team has hit its member limit. Operates on the team this token currently targets — use list_my_tenants / switch_active_tenant to change teams first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role to grant. Defaults to "member". "admin" can only be granted by the team owner. | |
| Yes | Email address of the person to invite. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role granted by the invite | |
| No | Address the invite was sent to | ||
| inviteUrl | No | The invite link that was emailed — you may relay it to the user | |
| inviteToken | No | Token embedded in the invite link | |
| membershipId | No | The created membership record | |
| isUserRegistered | No | Whether that address already had a RooQuiz account |