list_oncalls
Retrieve on-call entries within a specified time range, filtered by user, schedule, or escalation policy IDs, to manage and monitor PagerDuty schedules effectively.
Instructions
List the on-call entries during a given time range.
Args: current_user_context (bool): Use the current user's ID to filter (default: True, cannot be used with user_ids or escalation_policy_ids) schedule_ids (List[str]): Return only on-calls for the specified schedule IDs (optional) user_ids (List[str]): Return only on-calls for the specified user IDs (optional, cannot be used with current_user_context) escalation_policy_ids (List[str]): Return only on-calls for the specified escalation policy IDs (optional, cannot be used with current_user_context) since (str): Start of date range in ISO8601 format (optional). Default is 1 month ago until (str): End of date range in ISO8601 format (optional). Default is now
Returns: Dict[str, Any]: Dictionary containing metadata (count, description) and a list of on-call entries matching the specified criteria
Input Schema
Name | Required | Description | Default |
---|---|---|---|
current_user_context | No | ||
escalation_policy_ids | No | ||
schedule_ids | No | ||
since | No | ||
until | No | ||
user_ids | No |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from PagerDuty MCP Server
Related Tools
- @wpfleger96/pagerduty-mcp-server
- @wpfleger96/pagerduty-mcp-server
- @JordanDalton/ServiceTitanMcpServer
- @iaptic/mcp-server-iaptic
- @wpfleger96/pagerduty-mcp-server