dify_run
Test-run a Dify workflow draft without publishing it, returning execution status, actual node order, failed nodes, and the final reply.
Instructions
在草稿上试运行一次(不发布)。返回工作流状态、实际执行的节点顺序、失败节点与最终回复。
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": {
"app": "<app>",
"query": "<query>"
},
"name": "dify_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | 应用名称或 id。 | |
| alias | No | 可选。实例别名。 | |
| query | Yes | 用户这一轮的输入。 | |
| inputs | No | 工作流输入变量对象。 | |
| timeoutMs | No | 最长等待毫秒数,默认 120000。 |