Message displayed to the human operator.
Optional timeout?: numberMaximum wall-clock milliseconds before the node is aborted or handled by onTimeout.
Optional autoAuto-accept without human input. Useful for testing/dev.
Optional autoAuto-reject without human input.
Optional judge?: { Delegate to LLM judge instead of human.
Optional model?: stringOptional provider?: stringOptional criteria?: stringOptional confidenceOptional onWhat to do when timeout expires.
'error'
Optional guardrailRun guardrails AFTER approval to catch destructive actions.
Even when the node auto-accepts or is approved by an LLM judge,
guardrails can still veto the decision as a safety net. When a
guardrail blocks, the node returns approved: false with the
guardrail's reason.
Set to false to disable the guardrail safety net for this node.
true
Optional policies: NodePoliciesOptional per-node policy overrides.
Creates a human-in-the-loop node that suspends execution until a human (or automated surrogate) provides a decision.