StepDefinition
Durable step definition created with `step()`.
SDK v2026.4.0
Kind: interface
Signature
export interface StepDefinitionProperties
name(string): Human-readable step name used in checkpoints and workflow state.inputSchema(StepSchema): Input validator for the step body.outputSchema(StepSchema): Output validator for the step body.fn(unknown): Pure step body that may only cross trust boundaries throughkernel.*.