list-roles
List and filter roles by status, department, or active status. Retrieve paginated results with customizable page size.
Instructions
List all roles with optional filtering by status, department, or active status
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-roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| level | No | Filter by role level/hierarchy | |
| active | No | Filter by active status (0=archived, 1=active) | |
| per-page | No | Number of items per page (max 200) | |
| department_id | No | Filter by department ID |