get_schedule_v3_custom_shift
Retrieve a custom shift from a PagerDuty v3 schedule by providing the schedule ID and custom shift ID.
Instructions
Get a specific custom shift within a v3 schedule.
Args:
schedule_id: The ID of the v3 schedule
custom_shift_id: The ID of the custom shift
Returns:
The custom shift
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schedule_id": "<schedule_id>",
"custom_shift_id": "<custom_shift_id>"
},
"name": "get_schedule_v3_custom_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_id | Yes | ||
| custom_shift_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the custom shift | |
| self | No | API URL for this custom shift | |
| type | No | Resource type identifier | |
| end_time | No | ISO 8601 end datetime | |
| html_url | No | PagerDuty UI URL for this custom shift | |
| start_time | No | ISO 8601 start datetime | |
| assignments | No | Assignments for this shift |