Skip to main content

Schedules

On-call schedules define who is on-call at any given time. These tools let you view, create, and manage schedules and overrides.

Toolsโ€‹

list_schedulesโ€‹

List schedules with optional filtering.

ParameterTypeRequiredDescription
query_modelScheduleQueryNoOptional filtering parameters (name, pagination)

Example prompt:

"List all on-call schedules"


get_scheduleโ€‹

Get a specific schedule by ID.

ParameterTypeRequiredDescription
schedule_idstringYesThe ID of the schedule to retrieve

Example prompt:

"Get the details for schedule PXXXXXX"


list_schedule_usersโ€‹

List users in a schedule.

ParameterTypeRequiredDescription
schedule_idstringYesThe ID of the schedule

Example prompt:

"Who is on the primary on-call schedule?"


create_schedule (write)โ€‹

Create a new on-call schedule. Each schedule layer requires a name field to identify the layer.

ParameterTypeRequiredDescription
create_modelScheduleCreateRequestYesThe schedule creation data
note

Requires --enable-write-tools flag.


create_schedule_override (write)โ€‹

Create an override for a schedule. The override_request contains an overrides array. Each override requires:

  • start โ€” ISO datetime when the override begins
  • end โ€” ISO datetime when the override ends
  • user_id โ€” The PagerDuty ID of the user covering the override
ParameterTypeRequiredDescription
schedule_idstringYesThe ID of the schedule to override
override_requestScheduleOverrideCreateYesData for the schedule override
note

Requires --enable-write-tools flag.

Example prompt:

"Create an override for schedule PXXXXXX putting user PYYYYYY on-call from 2025-01-15T09:00:00Z to 2025-01-15T17:00:00Z"


update_schedule (write)โ€‹

Update an existing schedule.

ParameterTypeRequiredDescription
schedule_idstringYesThe ID of the schedule to update
update_modelScheduleUpdateRequestYesThe updated schedule data
note

Requires --enable-write-tools flag.