List users in a specific role
action1_list_role_usersLists users assigned to a specific role by role ID, with pagination, filtering, and sorting support.
Instructions
List users in a specific role. Gets a list of users in a role specified by its ID. Perm: view_users, assign_roles, manage_roles.
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": {
"role_id": "<role_id>"
},
"name": "action1_list_role_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Provide the number of the first record to be returned. | |
| limit | No | Set the maximum number of items to be returned (the page size). | |
| cursor | No | next_cursor of the previous call; takes precedence over from. | |
| filter | No | Provide a case-insensitive substring to filter and narrow down returned results (i.e., if... | |
| sortby | No | Define the sorting order by a certain field. | |
| role_id | Yes | Provide a specific role ID. | |
| verbose | No | Skip per-item compactor. | |
| auto_paginate | No | Walk pages until limit or the size budget; then continue with next_cursor. | |
| response_format | No | Output format. Default markdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | ||
| items | Yes | ||
| total | No | ||
| has_more | No | ||
| next_cursor | No |