Cancel Pending Question
cancel_questionRetract a pending question that is no longer needed or is moving to the current client. Returns cancelled:true only when a pending question was removed. False may mean it was already answered, expired, missing or unavailable. An unavailable state includes handoffAction:stop because cancellation could not safely inspect or fence the question. Does not retract an answer already recorded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handoff | No | True when you are cancelling because you are about to ask the same question in the current client. For the next minute the Pushary hook then lets your own question tool through instead of sending it back to the phone. Set automatically whenever a live question is cancelled. | |
| correlationId | Yes | The correlationId of the pending question to cancel, as returned by ask_user or send_notification |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | What to do when cancellation could not safely inspect the question. | |
| status | No | Present when Pushary could not safely read or fence the question state. | |
| cancelled | Yes | True when a still-pending question was removed. False when it was already terminal, missing, or unavailable; inspect status and handoffAction when present. | |
| askHandoff | No | True when the session was marked as handing off to the current client, so the hook will not re-ask on the phone for the next minute. | |
| correlationId | Yes | The question this result refers to, echoed back. | |
| handoffAction | No | Stop rather than opening another answer surface when the question state is unavailable. |