pm_send_invitation
Send an email invitation to join the current workspace. workspaceAccessLevelId is a numeric Long id (NOT a name like "admin"/"member") — fetch the catalogue from /v1/workspaces/{ws}/access-levels to translate role names to ids before calling. Caller needs MANAGE_USERS permission. Returns 201 on success. API-key scope: users:write.
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>",
"workspaceAccessLevelId": "<workspaceAccessLevelId>"
},
"name": "pm_send_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Invitee email address | ||
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| workspaceAccessLevelId | Yes | Numeric access-level id (Long); list /v1/workspaces/{ws}/access-levels to discover |