list_groups
Retrieves Active Directory security and distribution groups with filtering by organizational unit or LDAP criteria, including scope, type, and membership counts.
Instructions
List groups in Active Directory with filtering options.
Retrieves security and distribution groups with detailed information about scope, type, and membership counts.
Example:
list_groups()
list_groups(ou="OU=Security Groups,DC=company,DC=com")
list_groups(filter_criteria="(groupType=-2147483646)")
Shows group hierarchy and management information.
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 |
|---|---|---|---|
| ou | No | Organizational Unit DN to search in | |
| attributes | No | Specific attributes to retrieve | |
| filter_criteria | No | Additional LDAP filter criteria |