Answer the voice agent's question during a call
answer_call_questionSend the user's answer to a question the voice agent asked during a live call (shown by get_call as pending_question) and get confirmation that it was relayed. Compliance: the same rules as the task apply; an answer that threatens, impersonates someone, asks the callee for codes, card details or a transfer, or dictates a payment code or a full card with its security code is refused before anything is sent.
Use it only when get_call shows a pending_question. The answer is spoken to the person on the line, so it must be the user's real information or decision: if you do not know it, ask the user and relay their words; never invent personal details. If the callee asks for a code (SMS, verification, delivery), a password or a card detail, ask the user: they decide whether to give it (write it as [secret: value] so it is masked in stored transcripts) or to decline, or to take the call themselves with transfer_call_to_user. During a live call, answer quickly: after about 45 seconds without an answer (pending_question.seconds_left) the voice agent offers the callee a callback; if you need to ask your human, call hold_call_question first (one extra minute, only if the callee agrees). If the call then ended with the question still open and a callback is scheduled (get_call shows status retry_scheduled with a pending_question), the answer is still accepted: it is kept and given at the start of the callback (sending the same answer again is harmless). Any other ended call fails with wrong_call_state. Then continue with get_call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The user's answer, as the voice agent should relay it to the callee (1-1000 characters), e.g. 'Indoors, please', 'The booking reference is AB-123-CD' or 'The code is [secret: 482913]'. | |
| call_id | Yes | The call_id of the live call (or of an ended call awaiting its callback with a pending_question). | |
| question_id | No | pending_question.question_id from get_call. Omit to answer the question currently pending. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call_id | No | ||
| next_step | No | ||
| after_call | No | ||
| answer_sent | No | ||
| callback_at | No | ||
| already_received | No |