discord_ask_decision
Send blocking questions to Discord threads for user decisions during autonomous tasks. Present options or allow free-text responses while waiting for human input.
Instructions
사용자의 결정이 필요할 때 Discord Thread에 질문을 전송하고 응답이 올 때까지 블로킹 대기한다.
timeout_seconds=None: 무한 대기 (기본값, 권장)
options=[] : 자유 텍스트 응답
options=[...]: 선택지 제시 (A/B/C 형식 권장)
Returns: { "success": bool, "answer": str | None, "selected_option": str | None, "question_id": str, "timed_out": bool, "aborted": bool, }
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | 사용자에게 물어볼 질문 내용 | |
| context | Yes | 현재 작업 상황. 사용자가 판단하기 충분한 정보를 담는다 | |
| options | No | 선택지 목록. 예: ['A) 지금 실행', 'B) 스테이징 먼저', 'C) 보류']. 자유 응답이면 빈 리스트. | |
| timeout_seconds | No | 응답 대기 Timeout(초). None이면 무한 대기 (기본값). 설정 시 해당 시간 후 작업 중단. | |
| thread_id | No | 기존 Discord Thread ID. None이면 새 Thread를 자동 생성한다. |