dify_canvas_publish
Publishes the current Dify canvas draft and reads back the published hash to verify it. Confirm with the user before publishing because it goes live immediately.
Instructions
发布当前草稿并回读发布态 hash 核对。发布立即上线,调用前先向用户确认。
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>"
},
"name": "dify_canvas_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | 应用名称或 id。 | |
| alias | No | 可选。实例别名。 | |
| expectedHash | No | 可选。只发布这个 hash 的草稿。 |