invite_member
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". 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": "viewer" is read-only, "admin" manages the whole team. Cannot be "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 |