list_users
Retrieve and filter user data from ServiceNow instances using customizable parameters like active status, department, and search queries.
Instructions
List users in ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
active | No | Filter by active status | |
department | No | Filter by department | |
limit | No | Maximum number of users to return | |
offset | No | Offset for pagination | |
query | No | Case-insensitive search term that matches against name, username, or email fields. Uses ServiceNow's LIKE operator for partial matching. |
Input Schema (JSON Schema)
{
"description": "Parameters for listing users.",
"properties": {
"active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by active status",
"title": "Active"
},
"department": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by department",
"title": "Department"
},
"limit": {
"default": 10,
"description": "Maximum number of users to return",
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"description": "Offset for pagination",
"title": "Offset",
"type": "integer"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Case-insensitive search term that matches against name, username, or email fields. Uses ServiceNow's LIKE operator for partial matching.",
"title": "Query"
}
},
"title": "ListUsersParams",
"type": "object"
}