Get workflow
get_workflowGet a single workflow by slug or id, including the definition body of its current version (published if any, else latest) and its latest/last-published version numbers. Use get_workflow_version to read a specific older version.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | the workflow slug (provide this or workflow_id) | |
| workflow_id | No | the workflow id (provide this or slug) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| definition | No | ||
| description | Yes | ||
| workflow_id | Yes | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |