ask_human
Present content to a human and ask them to choose between options. Use this for subjective judgment, approval, preference, or tie-breaks. Avoid using it for deterministic checks or reversible low-stakes choices. The tool waits briefly for a result, then returns pending if the human has not responded yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short title for the request (max 200 chars) | |
| run_id | No | Optional workflow run identifier | |
| choices | Yes | 2-4 choices for the human to pick from | |
| content | No | Content for the human to review (text, markdown, HTML, or image URL). Max 50KB. | |
| metadata | No | Optional metadata passed through to webhook | |
| trace_id | No | Optional trace identifier | |
| agent_name | Yes | Your agent/tool name (max 100 chars) | |
| confidence | No | Agent confidence between 0 and 1 | |
| callback_url | No | Optional HTTPS webhook URL for async notification | |
| content_type | No | How to render the content. Default: text | |
| decision_reason | No | Why the agent is escalating this to a human (max 500 chars) | |
| timeout_seconds | No | Request expiry in seconds (default 3600, max 86400) | |
| recommended_option | No | Optional choice id the agent currently recommends | |
| consequence_of_wrong_choice | No | Why a wrong choice matters (max 500 chars) |