Skip to content

ValidateInput

readonly optional abortSignal?: AbortSignal;

readonly assistantOutput: string;

readonly knowledgeCitations: SourceRef[];

readonly session: Session;

readonly state: Readonly<Record<string, unknown>>;

Current flow state (runState.state). Lets a grounding validator ground a claim against evidence an ACTION node wrote (e.g. state.orderRef after a create-order tool), which toolCallsMade (this turn’s model tool calls only) does not capture. {} when the turn ran outside a flow.


readonly toolCallsMade: ToolCallRecord[];

readonly userMessage: string;