Analyze schedule timing
analyze_scheduleAnalyze program schedules: compute each step’s start, end, duration, critical path, resource conflicts, and slack. Work backward from finishAt or predict durations from run history.
Instructions
Put a program on the clock: each step's start and end, total length, the critical path and what gates it, resource conflicts, slack per track. Pass finishAt to answer 'when do I start X so everything is ready at 6pm?'. Pure computation. With history (run records) or program_id it also predicts durations from recorded runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Access token from the login tool. Omit when the account is connected. | |
| history | No | Recorded runs of this program (from load_run); adds predicted durations. | |
| program | Yes | Program JSON; shape under validate_program. | |
| startAt | No | ISO 8601 start datetime. Ignored with finishAt. | |
| finishAt | No | ISO 8601 datetime everything must END at, e.g. '2026-11-26T18:00:00-05:00'. Start times are worked backwards from it. | |
| program_id | No | Saved program UUID: loads the user's own recorded runs as the history. | |
| useDurations | No | planned (default): analyse the program as authored. predicted: as the history says it will run. | planned |
| predictionContext | No | Optional: environmentId, userTags (variance factors), userId, programVersion, minIdentical, minModel, corrThreshold, verdicts. See rhylthyme://guide/tools. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| steps | Yes | ||
| tracks | Yes | ||
| inFlight | No | ||
| makespan | Yes | ||
| actorPeak | Yes | ||
| programId | Yes | ||
| wallClock | Yes | ||
| validation | No | ||
| criticalPath | Yes | ||
| durationsUsed | No | ||
| makespanSeconds | Yes | ||
| plannedMakespan | No | ||
| predictedMakespan | No | ||
| resourceConflicts | Yes | ||
| bindingConstraints | No | ||
| predictedCriticalPath | No | ||
| plannedMakespanSeconds | No | ||
| predictedMakespanSeconds | No |