run_workflow
Run a workflow graph: nodes naming tools, wires carrying one node’s output into another’s input, $whenExpression to make a step conditional, and scatter to run a step once per element of a list. Returns the run record — per-node status, outputs and errors, in topological order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | A workflow graph: nodes naming tools, wires carrying one node’s output into another’s input, and the two constructs a single tool call cannot express — `$whenExpression` (run this node only if…) and `scatter` (run it once per element of a list input, gathering every output into an array). | |
| _files | No | The project's files, standing in for the project open in the editor: each is one record reference (a `file`, `sample`, `accession` or named `sequence`). Every sequence record they hold becomes a library document a tool can name in its `sequences`/`parts`/`document` arguments (a multi-record file as `file · record`), and a tool reading a file by name (a trace, an alignment) finds it here. | |
| _subject | No | The record this call acts on, standing in for the document open in the editor. Exactly one of: `sequence`, `file`, `sample`, `accession`. This server holds no project, so a tool needing a subject gets it here or refuses by name. |