Skip to main content

Interface: HitlConfirmation

googleAdkAgentsWorkflow.HitlConfirmation

The human's decision for a tool gated with requireConfirmation.

Properties​

confirmed​

• confirmed: boolean

Approve (true) or reject (false) the call. Must be a boolean: hitlConfirmationResponse refuses anything else rather than guess, since ADK approves only on === true.


hint​

• Optional hint: string

Optional echo of the hint shown to the human.


payload​

• Optional payload: unknown

Optional data the tool reads from toolContext.toolConfirmation.payload.