Skip to main content
Reports whether a human was involved in the current task so far, and how. Display name “Task Human Interactions”. Off by default. Use it to branch on human involvement mid-task: skip auto-posting when a reviewer corrected the extraction, notify a channel only when an approval was skipped, or record whether a run was straight-through.

Authentication and enablement

No integration. Off by default — enable it on the agent’s tools list. Read-only: it inspects the current task’s own awaits and steps and changes nothing.

Inputs

None. The tool always reports on the task it runs inside.

Output

  • hitl_triggered: a human was asked — a review form, approval, ask_user question, or email wait exists, even if still pending or later cancelled (“skip & send now”).
  • hitl_completed: a human actually responded (a review submitted, an approval answered, a question replied to).
  • One interaction per human touchpoint. kind is review, approval, question, or email_wait; channel is in_app, slack, teams, or email. A multi-channel approval (e.g. Teams + in-app) is a single interaction reflecting the channel that answered.
  • status: pending, completed, cancelled, expired, or (for question steps) processing/failed.
  • edits appears only on completed reviews where the reviewer changed something: every edited field with its before/after value. Table columns report cells_changed counts instead of per-cell values. Values longer than 200 characters are truncated and truncated is set.

Limits and side effects

  • No side effects; single read of the current task’s state.
  • Reports the task’s own interactions only — human involvement inside child tasks spawned by this task is not included.
  • Field diffs cover review-form-family tools only. Edits to other tool outputs and the specifics of match-config corrections (old vs. new matched catalog entry) are not broken out.
  • At most 100 interactions are listed — the newest 100, with interactions_total giving the full count and interactions_truncated set when the list was cut. The booleans always reflect the full set.
  • Field diffs are attached to at most the 20 most recent completed reviews; at most 50 edited fields per review.

Expected errors

  • no task id in context — called outside a running task.
  • task human interactions are unavailable: repositories not configured — misconfigured deployment.