List User Roles
list_user_rolesRetrieve roles assigned to all users in your organization, optionally filtering by project or environment for targeted access review.
Instructions
List roles for all users in the organization, optionally scoped.
Args:
projectID (string, optional): Scope to a project
environmentID (string, optional): Scope to an environment
Returns: { data: RoleAssignment[], next?: string, total?: number }
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_user_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectID | No | Optional project scope filter | |
| environmentID | No | Optional environment scope filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| next | No | ||
| total | No |