list_schedules
Retrieve all PagerDuty schedules from both v2 layer-based and v3 shift-based systems in one call, with source-specific status marks for completeness.
Instructions
List ALL PagerDuty schedules across BOTH scheduling systems in a single call.
This returns classic layer-based (v2) schedules AND next-gen shift-based (v3) schedules
together. It is the complete, authoritative schedule list — there is no other list tool.
Each item's `kind` field ("layer_based" or "shift_based") says which system it belongs to.
If either source fails, `response_summary`/`sources` explicitly mark the list INCOMPLETE;
otherwise treat it as exhaustive. Never tell the user a schedule type is unsupported or missing.
Args:
query_model: Filters (name query, team_ids, user_ids, limit). Shift-based (v3) schedules
are filtered by name `query` and `limit` only.
enrich: When True (default), fill in names for shift-based (v3) schedules (bounded to the
returned page, max 50). Set False to skip the extra lookups; v3 names may then be null.
Returns:
The merged schedule summaries with per-source status and a `degraded` flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrich | No | ||
| query_model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | Per-API retrieval status for each scheduling system | |
| degraded | No | True if any source failed; the list is then INCOMPLETE | |
| response | Yes |