Cancel Pending Question
cancel_questionRetract a pending question so it can no longer be answered. Use this when a question became irrelevant before the user replied: the agent found the answer itself, the task was aborted, or a newer question supersedes it. Cancelling prevents a stale approval from arriving later and acting on work that has moved on. Only affects questions that are still pending; questions expire on their own 10 minutes after creation. Returns { cancelled: true } when a pending question was removed. False means it was already answered, expired, unknown, or unavailable; when status is unavailable, follow handoffAction and stop rather than opening another answer surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| 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. |