question_ask
Records an open question for a human, tied to the project and asker, with choice or free-text options and a default answer; dedupes similar pending questions and returns the answer on response.
Instructions
Record an open question for the human, keyed to this project and to you as the asker. kind=choice takes 2-4 options (each label, description, recommended; exactly one recommended) and a header of 12 characters or fewer (longer is cut at a word boundary and reported as header_truncated); kind=free_text takes just the question and header. Every question carries default_answer: for a choice it is the recommended option's label; a different default_answer is replaced with the recommended label and reported as default_answer_replaced. Pass ref (a todo id or PR number) to dedupe: asking again with a ref that already has a PENDING question in this project updates that row instead of adding one. The receipt lists other pending questions in this project that look similar (same normalized text, or at least half their longer words shared), so you can question_update one instead. The record is only stored: put the question to the human yourself, in your own turn. You must be a session an answer can be woken back to. When the question is answered, an ordinary wake carrying the answer is queued to you; read the record with question_get.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"question": "<question>",
"header": "<header>"
},
"name": "question_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| kind | Yes | ||
| header | Yes | 12 characters or fewer; longer values are cut at a word boundary and reported as header_truncated. | |
| options | No | Required for choice, forbidden for free_text. | |
| question | Yes | ||
| default_answer | No | What you do if unanswered. For a choice, defaults to the recommended label; required for free_text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| hive_notice | No | ||
| question_id | Yes | ||
| header_truncated | No | ||
| similar_question_ids | Yes | ||
| default_answer_replaced | No |