validate_workflow
Validates workflow graph structure to catch duplicate or invalid IDs, dangling or self dependencies, gate references to non-direct dependencies, and dependency cycles without model calls.
Instructions
确定性结构校验(不调用模型):重复 id、非法 id 字符、悬空依赖、自依赖、门条件引用非直接依赖、依赖环。
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": {
"id": "<id>"
},
"name": "validate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |