Users: invite
users_inviteCreate a project user, assign a role_id from roles_list, and email an invitation to confirm their account; check users first to avoid duplicate invites.
Instructions
Create a user and send an invitation email. Adds the person to this project with the role given by role_id, then emails them an invitation to confirm their account. Always pass role_id from roles_list: the API rejects an invite without an existing role, and administrator roles can't be given this way. Check users_list first so nobody is invited twice.
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>",
"first_name": "<first_name>",
"last_name": "<last_name>"
},
"name": "users_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | User email address | ||
| role_id | No | Role ID to assign. Find it with roles_list. | |
| last_name | Yes | Last name | |
| first_name | Yes | First name |