Properties
description
description: string
supportedTypes
supportedTypes: ("escalation" | "checkpoint" | "approval" | "clarification" | "edit")[]
sendNotification
sendNotification: ((notification) => Promise<void>)
Type declaration
- (notification): Promise<void>
Parameters
- notification: {
type: string;
requestId: string;
summary: string;
urgency: string;
}type: string
requestId: string
summary: string
urgency: string
Returns Promise<void>
Optional checkHealth
checkHealth?: (() => Promise<{
healthy: boolean;
message?: string;
}>)
Type declaration
- (): Promise<{
healthy: boolean;
message?: string;
}> Returns Promise<{
healthy: boolean;
message?: string;
}>
HITL handler payload for custom human interaction handlers. Handlers receive human interaction requests and manage the approval/response flow.