get_escalation_policies
Retrieve PagerDuty escalation policies by specific policy ID, user, team, or name query to inspect escalation rules and routing details.
Instructions
Get PagerDuty escalation policies by filters or get details for a specific policy ID.
Call patterns:
Default: omit filters (uses current user's policies/teams).
By IDs: pass
user_idsand/orteam_ids(impliescurrent_user_context=False, including overriding an explicit True).By name: pass
querywith the default context (limited to your teams/policies); do not setcurrent_user_context=Falsewith onlyquery.
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_escalation_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of results (optional). Not used if `policy_id` is provided. | |
| query | No | Policies whose names contain the search query (optional). Works with default `current_user_context=True` (limited to your teams/policies). Not a substitute for `user_ids`/`team_ids` when context is False. Not used if `policy_id` is provided. | |
| include | No | List of fields to include in the response. If specified, only these fields will be returned for each escalation policy | |
| team_ids | No | Policies assigned to these team IDs (optional). Providing this parameter implies `current_user_context=False` (overrides explicit True). Not used if `policy_id` is provided. | |
| user_ids | No | Policies that include these user IDs (optional). Providing this parameter implies `current_user_context=False` (overrides explicit True). Not used if `policy_id` is provided. | |
| policy_id | No | The escalation policy ID to retrieve (optional, cannot be used with any other filters). | |
| current_user_context | No | Use current user's ID/team IDs context (default: True). Ignored when `user_ids` or `team_ids` are provided (those imply False, even if this is explicitly True). Not used if `policy_id` is provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||