b2_list_groups
List groups administered by a given account, with pagination support. Returns up to 100 groups per call.
Instructions
List active Groups administered by a Group admin account. Returns up to 100 groups per call; use nextGroupId for pagination. Requires the account to be authorized for the Partner API.
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": {
"adminAccountId": "<adminAccountId>"
},
"name": "b2_list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupName | No | Filter by Group name. Returns all Groups with this exact name. | |
| startGroupId | No | Pagination cursor — the groupId to begin listing from. | |
| maxGroupCount | No | Maximum number of Groups to return (1-100). Defaults to 100. | |
| adminAccountId | Yes | The accountId of the Group admin. Must be authorized for the Partner API. |