OptionalallowWhether rejection allows retry with modified arguments. If true, rejection doesn't fail the step but allows re-planning.
OptionalapprovalMessage to show in the approval dialog. Can include {{variable}} placeholders that will be replaced with values from the tool's input arguments.
OptionalcategoryCategory of the blocking action for UI grouping. Examples: 'destructive', 'financial', 'external', 'sensitive'
OptionalcompletesWhether the tool auto-completes successfully when approved. If true (default), approval = success with feedback as output. If false, the tool's execute() is called again with hitlContext.
OptionalfeedbackThe schema for feedback this tool expects. If not provided, defaults to a simple confirm schema.
OptionalriskRisk level for UI styling/warnings.
OptionaltimeoutTimeout in milliseconds for user response. If exceeded, the tool fails with a timeout error.
Configuration for blocking tools in the ToolSchema.
Remarks
This is added to ToolSchema when executionMode is 'blocking'. It defines how the tool interacts with the HITL system.