Create invitation
create_invitationCreate a workspace invitation and return the invite link PLUS a ready-to-send email DRAFT (subject + plaintext + HTML). Administrator only. IMPORTANT: this does NOT send any email — deliver the returned draft to the invitee yourself (e.g. via a mail tool). Pending invitations count toward the seat cap, so a Free workspace at its limit gets a plan-limit message. role must be one of: Administrator, ProjectManager, Member, Guest. A Guest takes a seat but only reads the projects later granted with set_project_guests, and changes nothing. invitedEmail is required — only that address can accept the invitation, so ask the user for it rather than guessing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role to grant on accept: Administrator, ProjectManager, Member, or Guest | |
| invitedName | No | Invitee display name (optional, personalizes the email) | |
| invitedEmail | Yes | Invitee email address — REQUIRED. Only this address can accept the invitation; it is also the draft's To and is shown on the landing page. | |
| personalNote | No | Personal note from the inviter (optional, shown in the email) |