aws_cognito_list_groups
Retrieve groups from an AWS Cognito user pool to manage user access and permissions. Specify the user pool ID to list groups with optional filtering by region and profile.
Instructions
List groups in a Cognito user pool.
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_pool_id": "<user_pool_id>"
},
"name": "aws_cognito_list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') | |
| user_pool_id | Yes | User pool ID | |
| limit | No | Maximum groups to return (default: 60) |