invite_member
Prepare an invitation to the workspace
Prepares an invitation of one person to this workspace and checks it: the address, the workspace role (manager, strategist, publisher, paid_operator, sales_collaborator, analyst; list_members says what each may do), whether they join as a client collaborator (someone on the client's side, who never sees private agency notes, settings, paid, members or exports), whether they are already a member or already invited, and whether the plan has a free seat.
It does not invite: an invitation is an email to someone outside, and that is sent by a person in the app. Give the person review_url and the values in `invitation`; they enter them under Settings, Members and press "Send invitation". Never say an invitation was sent. Never guess or complete an address, and suggest the narrowest role that does the job. Needs the right to manage members.
Arguments
| Name | Type | Needed | What it is |
|---|---|---|---|
email |
string | yes | The email address to invite, exactly as the person gave it. |
role |
string | yes | The workspace role.One of: manager, strategist, publisher, paid_operator, sales_collaborator, analyst |
client_collaborator |
boolean | no | True when the person is on the client's side, not the agency's own team. Default false. |
Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.
How it behaves
- It changes something in the workspace, within what the signed-in person's role allows.
- It is not in the first list an assistant sees; the assistant finds it with search_tools and runs it with execute_tools.
How tools behave: confirmation, review links, errors and limits
In the same group
get_plan_usage · list_audit_events · list_available_integrations · list_connections · list_members · list_notifications · list_workspaces_summary · manage_member