Workflows: get
workflows_getReads one neonloops workflow (a task that runs on a schedule or when an app event happens) in full: name, status, project, publish state, run cost cap and spend this billing period, the draft graph of steps and edges with each step's config flat in its data, the revision that workflows_edit needs, and every published version, newest first, with its id and which one is live. With checks: true it also says whether a run would accept the graph and what publishing would refuse, with warnings, and publishes nothing. An unknown or unreachable workflow is refused. For many workflows use workflows_list, and workflows_list_node_types for each step type's config shape; a rollback with workflows_publish takes a version id from here.
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": "workflows_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | Also run the run check (would a run accept this graph) and the publish check (what publishing would refuse, and its warnings). Slower, because the publish check reads the workflow's tables, connections and the app catalogue. Default false. | |
| workflow_id | Yes | The workflow to read; workflows_list gives the ids. |