Interface ToolOrchestratorHITLConfig

interface ToolOrchestratorHITLConfig {
    enabled?: boolean;
    requireApprovalForSideEffects?: boolean;
    defaultSideEffectsSeverity?: "low" | "high" | "critical" | "medium";
    approvalTimeoutMs?: number;
    autoApproveWhenNoManager?: boolean;
}

Properties

enabled?: boolean

Enable HITL gating inside the ToolOrchestrator. Default: false.

requireApprovalForSideEffects?: boolean

If true, tools with tool.hasSideEffects === true require an approval before execution. Default: true (when HITL is enabled).

defaultSideEffectsSeverity?: "low" | "high" | "critical" | "medium"

Default severity for side-effect tool approvals. Default: 'high'.

approvalTimeoutMs?: number

Optional per-approval timeout (ms). If omitted, the HITL manager's default timeout is used.

autoApproveWhenNoManager?: boolean

If true, ToolOrchestrator will execute side-effect tools even if no HITL manager was provided. Default: false.