preview_running_workout
Preview a running workout before creation: validate step structure, pace formats, and get a summary with warnings and a confirmation token to pass to create_running_workout.
Instructions
Assemble a running workout and show what WOULD be created — no network call.
Validates the structure (one end condition per step, paired pace bounds,
pace format) and returns a readable summary, sanity warnings, and a
confirmation_token to pass to create_running_workout. Always call
this first and review the result.
Args: workout: the workout definition (name, steps and/or repeat groups).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workout | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| summary | Yes | Human-readable step-by-step summary. | |
| warnings | No | ||
| confirmation_token | Yes | Pass to create_running_workout to confirm. | |
| estimated_duration_seconds | Yes |