Optional toolName of a registered ITool to invoke.
Optional gmiGeneral Model Invocation config. executionMode is always overridden to
'single_turn' inside a workflow to keep execution deterministic.
Optional executionIgnored at runtime — always coerced to 'single_turn' by the workflow compiler.
Optional maxHard cap on LLM output tokens for this step.
Optional humanHuman-in-the-loop step; suspends the run until a human provides a response.
Optional extensionCall a method on a registered extension.
Optional subgraphDelegate to a previously compiled sub-workflow or agent graph.
Optional memoryMemory read/write policy for this step.
Optional discoveryCapability discovery policy applied before execution.
Optional guardrailsDeclarative guardrail policy applied to input and/or output.
Optional requiresWhen true, execution suspends and waits for human approval before proceeding.
Optional onWhat to do when the step fails.
Optional retryAutomatic retry configuration. Only used when onFailure is 'retry'.
Optional timeoutMaximum wall-clock execution time in milliseconds.
Optional effectSide-effect classification used by the runtime for scheduling decisions.
Optional voiceVoice pipeline node configuration.
When provided alongside executorConfig.type: 'voice', these settings are
forwarded to the VoiceNodeExecutor. Typically set via the voiceNode()
builder rather than directly through StepConfig.
Configuration for a single workflow step node.
Exactly one of
tool,gmi,human,extension, orsubgraphmust be provided to specify the execution strategy. All remaining fields are optional policies.