Get a workflow
get_workflowReturns a workflow: its published versions, the input and output schemas of the latest (or the given) version, whether it's turned on, and its automation state if it's an activated automation. With Author access it also returns the draft: revision, definition, validation issues, and examples.
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_id": "<workflow_id>"
},
"name": "get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | A published version (default: the latest). | |
| workflow_id | Yes | A workflow ID, like wf_… |