Represents an interrupt triggered by the graph that requires human intervention. This is passed to the interrupt function when execution is paused for human input.

interface HumanInterrupt {
    action_request: ActionRequest;
    config: HumanInterruptConfig;
    description?: string;
}

Properties

action_request: ActionRequest

The specific action being requested from the human

Configuration defining what actions are allowed

description?: string

Optional detailed description of what input is needed