ask_question
Collect user responses through interactive prompts with text input, single/multi-select options, or yes/no confirmations to gather structured feedback or input.
Instructions
Ask the user a question with an interactive UI. Supports text input, single/multi-select options, and yes/no confirmation dialogs. Waits for user response and returns the answer.
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": {
"question": "<question>",
"inputType": "<inputType>"
},
"name": "ask_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | The question to ask the user | |
| inputType | Yes | Type of input: 'text' for free-form input, 'select' for single choice, 'multiselect' for multiple choices, 'confirm' for yes/no | |
| options | No | Options for select/multiselect input types | |
| placeholder | No | Placeholder text for text input | |
| timeout | No | Timeout in milliseconds (default: 5 minutes) |