flow_validate
Validate a flow spec without executing it. Detect parse errors and view step counts to prevent wasted emulator runs.
Instructions
Parse a flow spec WITHOUT running it — a cheap pre-check.
Returns a step summary (step_count, shot_count, steps_by_type, and whether it exceeds the 40-shot flow_run cap) on success, or a clear parse error naming the offending 1-based line. Needs no emulator, so it is the right tool to validate a flow before spending an emulator run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||