get_users
Get PagerDuty users by filters (team, name, limit) or by specific user ID.
Instructions
Get PagerDuty users by filters or get details for a specific user ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | The user ID to retrieve (optional, cannot be used with any other filters). | |
| current_user_context | No | Use current user's team IDs to filter (default: True). Not used if `user_id` is provided. | |
| 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. | |
| query | No | Filter users whose names contain the search query (optional). Not used if `user_id` is provided. | |
| limit | No | Limit the number of results (optional). Not used if `user_id` is provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||