dify_canvas_get
Reads a Dify workflow draft canvas: returns the node index and draft hash, or the complete definition of one node when a nodeId is supplied.
Instructions
读取工作流草稿。不传 nodeId 返回节点索引(id/标题/类型/备注/坐标)与草稿 hash;传 nodeId 返回该节点完整定义(代码、提示词、变量、坐标)。
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_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | 应用名称或 id。 | |
| alias | No | 可选。实例别名。 | |
| nodeId | No | 可选。只读取这一个节点。 |