list_users
Search Azure AD users by name or email to find recipient addresses, or list all organisation users with pagination controls.
Instructions
Search or list Azure AD users in the organisation. Use 'search' to find users by name or email. Without 'search', returns all users paginated. Useful for finding recipient email addresses.
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_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of users to return (default: 50, max: 999) | |
| skip | No | Number of users to skip (for pagination) | |
| search | No | Search string to filter users by display name or email | |
| select | No | Comma-separated properties to return (default: id,displayName,mail,userPrincipalName) |