list_users
Retrieve and filter user data from ServiceNow instances. Filter by active status, department, or search query, and manage results with pagination limits and offsets.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"ListUsersParams": {
"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": "Search query for users",
"title": "Query"
}
},
"title": "ListUsersParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/ListUsersParams"
}
},
"required": [
"params"
],
"title": "list_usersArguments",
"type": "object"
}