create_organization_user
Create a user in a specified organization and assign a role. Provision organization members directly; this action does not send workspace invitations.
Instructions
Create one user in an organization and assign a role. Use list_organization_users to see users that already exist. This tool does not invite someone to the workspace. Use invite_workspace_member for that. Requires the caller OAuth token.
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": {
"environmentId": "<environmentId>",
"organizationId": "<organizationId>",
"email": "<email>",
"role": "<role>"
},
"name": "create_organization_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role name to assign. Use a name returned by list_environment_roles. | |
| Yes | Email address of the user to create. | ||
| environmentId | Yes | Scalekit environment id. Format: env_<id>. | |
| organizationId | Yes | Scalekit organization id. Format: org_<id>. |