get_workflow
Get a workflow by ID, including its version history (with code) and the active version per environment. Use this to read the current code before editing an existing workflow.
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 |
|---|---|---|---|
| snippet_id | No | Deprecated alias for workflow_id. | |
| workflow_id | Yes | Workflow ID. |