get_users
Retrieve PagerDuty users by name, team, or user ID to look up people and inspect specific user details.
Instructions
Get PagerDuty users by filters or get details for a specific user ID.
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": "get_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of results (optional). Not used if `user_id` is provided. | |
| query | No | Filter users whose names contain the search query (optional). Not used if `user_id` is provided. | |
| include | No | List of fields to include in the response. If specified, only these fields will be returned for each user | |
| user_id | No | The user ID to retrieve (optional, cannot be used with any other filters). | |
| team_ids | No | Filter results to only users assigned to teams with the given IDs (optional, cannot be used with current_user_context). Not used if `user_id` is provided. | |
| current_user_context | No | Use current user's team IDs to filter (default: True); errors if the current user belongs to no teams. Not used if `user_id` is provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||