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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"definition": "<definition>"
},
"name": "validate_workflow_definition"
}
}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 |