Skip to main content

Interface: ClarificationRequest

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:113

A request for clarification from a human.

Properties

agentId

agentId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:121

Agent requesting clarification


allowFreeform

allowFreeform: boolean

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:127

Whether free-form response is allowed


clarificationType

clarificationType: "preference" | "guidance" | "ambiguity" | "missing_info" | "verification"

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:123

Type of clarification needed


context

context: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:119

Context for the question


options?

optional options: ClarificationOption[]

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:125

Suggested options (if multiple choice)


question

question: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:117

The question needing clarification


requestedAt

requestedAt: Date

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:129

Timestamp


requestId

requestId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:115

Unique request identifier


timeoutMs?

optional timeoutMs: number

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:131

Timeout (ms)