Set Org Role
set_org_roleSet a user's organization role (admin, member, viewer) with an idempotent call that can be safely repeated.
Instructions
Set the organization-level role for a user. Idempotent — safe to call multiple times.
Args:
userID (string, required): The user ID
role (string, required): Role to assign (e.g., 'admin', 'member', 'viewer')
Returns: Updated role assignment.
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": {
"userID": "<userID>",
"role": "<role>"
},
"name": "set_org_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The organization role to assign (e.g., 'admin', 'member', 'viewer') | |
| userID | Yes | The user ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |