get_users
Retrieve PagerDuty user details by ID or filter users by team IDs, search query, or current user context. Efficiently manage and access user information with structured inputs and outputs.
Instructions
Get PagerDuty users by filters or get details for a specific user ID.
Args:
user_id (str): The user ID to retrieve (optional, cannot be used with any other filters).
current_user_context (bool): Use current user's team IDs to filter (default: True). Not used if user_id
is provided.
team_ids (List[str]): 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 (str): Filter users whose names contain the search query (optional). Not used if user_id
is provided.
limit (int): Limit the number of results (optional). Not used if user_id
is provided.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
current_user_context | No | ||
limit | No | ||
query | No | ||
team_ids | No | ||
user_id | No |