List Users
servicenow_list_usersFind ServiceNow users by active status, name, department, or role. Retrieve user details including name, username, email, department, and manager.
Instructions
List and search ServiceNow users.
Args:
query (string): Encoded query (e.g., 'active=true', 'department.name=IT', 'nameLIKEjohn'). Default: active users only.
limit / offset: Pagination
response_format: Output format
Common queries:
All active users: 'active=true'
Search by name: 'nameLIKEsmith'
By department: 'department.name=Information Technology'
By role: 'roles=itil'
Returns: Users with name, username, email, department, and manager
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100, default 20) | |
| query | No | Encoded query (default: active users) | active=true |
| offset | No | Number of results to skip for pagination (default 0) | |
| response_format | No | Output format: 'markdown' (default) for human-readable or 'json' for structured data | markdown |