usergroups_list
List all user groups in a Slack team, with options to include member counts, disabled groups, and user lists.
Instructions
List all User Groups for a team.
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": "usergroups_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | No | Encoded team ID where the User Group exists, required if org token is used (e.g. ``T0123``). | |
| include_count | No | Include the number of users in each User Group in the response. | |
| include_users | No | Include the list of users for each User Group in the response. | |
| include_disabled | No | Include disabled User Groups in the response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||