Workflow parameters are validated at runtime and injected into prompts/args.
Example
custom_mode:
description: "Workflow with parameter injection"
parameters:
thought:
type: string
description: "A thought to reflect upon"
required: true
prompt: |
Deeply reflect upon the provided thought: {{ thought }}
Notes
string, number, boolean, array, object, and enum.{{ thought }}) are available to your prompt and to step args.{{ param }}, the original value and type are injected (numbers stay numbers; booleans stay booleans; arrays/objects remain structured).Scripted workflows
args.save_as and reference them in later steps.See also