get_schedule
Get a schedule by ID – works for both layer-based and shift-based schedules, automatically resolving the type.
Instructions
Get a single schedule by ID — works for layer-based (v2) and shift-based (v3) schedules alike.
You normally do not need to know the kind in advance; this resolves it automatically.
Args:
schedule_id: The ID of the schedule to retrieve.
kind: Optional hint ("layer_based" or "shift_based", taken from a prior list result) to
skip an extra lookup. A wrong or omitted hint still resolves correctly.
Returns:
The schedule details (a layer-based Schedule or a shift-based ScheduleV3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| schedule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |