remora-monorepo / lib / WorkflowStep
Type Alias: WorkflowStep
WorkflowStep = typeof
workflowStepSchema.infer
Defined in: packages/core/src/types.ts:248
A single step in a workflow. Each step has a type that determines its behavior:
start— entry point, declares input schematool-call— calls a tool with literal or expression-based argumentsllm-prompt— prompts an LLM with template string interpolationextract-data— uses an LLM to extract structured data from unstructured sourceswitch-case— branches to different step chains based on an expression valuefor-each— iterates over an array, executing a chain of steps per itemagent-loop— delegates work to an autonomous agent with its own tool-calling loop (use sparingly)end— terminates a branch, optionally producing workflow output