List Groups
list_groupsRetrieve groups in a Microsoft 365 organization and apply optional OData filters, result limits, or pagination to find the groups you need.
Instructions
List groups in the organization
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": "list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of groups (default: 25) | |
| filter | No | OData filter expression | |
| fetch_all_pages | No | Fetch all pages of results (max 50 pages) |