Approve or hide a question
moderate_questionModerate live Q&A by approving waiting questions so the room sees them, or hiding pending ones; get IDs first. Returns the question's new status.
Instructions
Approve a waiting question so the room sees it, or hide it so nobody does (action=approve or hide). Hide accepts only waiting (pending) questions, so an approved question cannot be hidden here; approve accepts waiting questions and questions the AI hid. Use it in rooms with human or AI moderation, where new questions wait for review; get ids from get_room_questions. An AI-hidden question can be approved only by an id you already have, because reads never return hidden questions; a question a person hid cannot be restored. Returns the question's id and new status. Needs rooms:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Six-character room code, for example ABC234 | |
| action | Yes | ||
| question_id | Yes | Question id from get_room_questions |