workflow_submit
Submit a workflow for schema validation and parsing, then optionally execute it in run mode.
Instructions
Workflow 提交——schema 校验 + 解析(validate/run)。
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": {
"workflow": "<workflow>"
},
"name": "workflow_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 执行模式:validate=只校验(默认)/ run=校验后执行 | validate |
| task | No | run 模式下的任务描述(供编排主 Agent 组装上下文) | |
| workflow | Yes | workflow 文本(YAML 或 JSON——YAML 是 JSON 超集,统一走 YAML 解析) |