Get workflow
get_workflowGet one workflow's editable graph (nodes, edges, settings) and metadata, including the updatedAt value update_workflow requires. Pass versionNumber to instead get that deployed version's frozen graph together with the version before it (previousVersion, null for version 1), so you can see what changed; list_workflow_versions gives the numbers.
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": {
"workflowId": "<workflowId>"
},
"name": "get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. | |
| versionNumber | No | A saved version to read instead of the current draft. Omit for the draft. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| edges | No | ||
| nodes | No | ||
| status | Yes | ||
| ownerId | Yes | ||
| version | No | ||
| settings | No | ||
| createdAt | No | ||
| createdBy | No | ||
| updatedAt | Yes | ||
| authoredVia | No | ||
| lastEditedBy | No | ||
| previousVersion | No | ||
| authoredViaClient | No | ||
| deployedWorkerUrl | No |