workflow_create
Register a new workflow and receive a unique run_id, stored in the sidecar for workers to discover via tags.
Instructions
Register a new workflow and get back a unique run_id.
Call this from the orchestrator before spawning workers. The returned run_id is stored in the sidecar — workers do NOT need to receive it out-of-band; they use workflow_discover() to find it.
Tags are arbitrary key-value metadata used for discovery filtering: e.g. tags={'pipeline': 'data-etl', 'customer': 'acme', 'priority': 'high'}
Status starts as 'created'. Lifecycle: created → claimed → running → done/failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| run_id | Yes | ||
| status | Yes |