Request human approval
create_human_approvalPut a decision in front of a real person and wait for their answer. Creates a web form and returns form_url to send to whoever should decide, plus an action_id for reading the reply. Use it to get sign off before an irreversible or costly step, or when a policy requires a named human to approve. The point of difference: the approver does not have to be the person operating this client - it can be a manager, a customer or a colleague on another device, in another country, and they need no account and no login to answer. No API key, no account and no sign up: call it directly. Poll for the reply with read_human_approval. The form expires 24 hours after creation, so it does not suit a decision that can wait longer than that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Required. The question shown to the person, in their language. Make it answerable on its own, since they see no conversation history. | |
| options | No | Optional. The buttons offered, 2 to 10 of them. Defaults to Approve and Reject. Use your own labels when the choice is not a yes or no, for example Ship today, Ship Monday, Cancel. | |
| allow_note | No | Optional. Whether the person may add a free text comment alongside their choice. Defaults to true. | |
| description | No | Optional supporting detail below the question: what changes, what it costs, what happens if they decline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_url | Yes | ||
| action_id | Yes | ||
| result_url | Yes | ||
| expire_datetime | Yes | ||
| expire_timestamp | Yes |