listUserGroups
Retrieve and paginate all user groups in a Clockify workspace to review group membership and organize users by role or team.
Instructions
List all user groups in a workspace
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": {
"workspaceId": "<workspaceId>"
},
"name": "listUserGroups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (optional, default 1) | |
| pageSize | No | Number of results per page (optional, default 50) | |
| workspaceId | Yes | The workspace ID |