invite_user
Invite a new organization user by email with an org role, and optionally grant workspace access and create an API key in the same call.
Instructions
Invite a new org user and optionally provision workspace access and an API key in one call. Workspace assignments apply only after acceptance; use add_workspace_member or update_workspace_member later for follow-up changes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>",
"role": "<role>",
"workspaces": "<workspaces>"
},
"name": "invite_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Organization-level role: 'admin' for full access, 'member' for limited access | |
| Yes | Email address of the user to invite | ||
| last_name | No | User's last name | |
| first_name | No | User's first name | |
| workspaces | Yes | List of workspaces and corresponding roles to grant to the user | |
| workspace_api_key_details | No | Optional API key to be created for the user |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |