Validate workflow definition
validate_workflow_definitionCheck a workflow definition against every gate a run start applies. Saves nothing.
On success returns a validation_token create_workflow requires — it expires in 10
minutes and is bound to these exact bytes, so validate what you will create.
On failure each error carries a workaround naming the field to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | The graph, as {"graph": {"nodes": [...], "edges": [...]}}. Get the skeleton from get_node_info. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | ||
| errors | No | ||
| strike | No | ||
| blocked | No | ||
| summary | No | ||
| warnings | No | ||
| next_step | No | ||
| nearest_feasible | No | ||
| validation_token | No |