invite-members-to-project
Add users to an Infisical project and assign one or more roles; non-organization users are invited by email while existing project members remain unchanged.
Instructions
Add users to a project with one or more roles. Users who are not yet in the organization are invited to it by email. Users who are already members of the project are left as they are.
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": {
"projectId": "<projectId>"
},
"name": "invite-members-to-project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | No | The email addresses of the users to add. Either emails or usernames must be provided. | |
| projectId | Yes | The ID of the project, from list-projects. A project slug or exact project name also works. | |
| roleSlugs | No | The roles to give them. The built-in roles are admin, member, viewer and no-access, and a project can define custom roles. Defaults to member. | |
| usernames | No | The usernames of the users to add. Either emails or usernames must be provided. |