Invite User
invite_userInvite a person into a tenant (a customer workspace) by email: Bridge creates the user and sends the invitation. Arguments: tenantName (the tenant NAME from list_tenants, like the other user tools) or tenantId (its id, e.g. from create_tenant), email (the invitee), role (a role KEY from list_roles, e.g. "ADMIN"), firstName, lastName. The role is the developer's decision: without it the tool invites nobody and returns DECISION_NEEDED offering the app's role keys, never the app's default role silently. Returns the new user. Use create_tenant first when the tenant does not exist yet, and update_user to change the role of someone already in it. Before writing app code that consumes this, call get_integration_guide with topic=team and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| role | No | Role KEY from list_roles. Ask the developer which role invitees get. | |
| Yes | Email address of the person to invite. | ||
| lastName | No | The invitee's last name. | |
| tenantId | No | Tenant id, e.g. from create_tenant. Pass this or tenantName. | |
| firstName | No | The invitee's first name, shown in the invitation. | |
| tenantName | No | Tenant NAME from list_tenants. Pass this or tenantId. |