list_user_groups
Retrieve all groups a user belongs to by providing their user_id. Returns complete group objects with pagination options.
Instructions
List all groups a user belongs to. Returns full group objects with pagination. Requires user_id — use list_users to find users.
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": {
"user_id": "<user_id>"
},
"name": "list_user_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of items to skip. This is the zero-based index of the first result. | |
| user_id | Yes | A unique identifier for a user. | |
| page_size | No | The number of items returned per page. The response may include this exact number or fewer. If omitting this value, the response returns the default number of results the method allows. |