get_user_choice
Presents a choice dialog that collects user selections from multiple options, enabling input for decisions or preferences.
Instructions
Create a choice dialog window for the user to select from multiple options.
This tool opens a GUI dialog box with a list of choices where the user can select one or multiple options. Perfect for getting decisions, preferences, or selections from the user.
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": {
"title": "<title>",
"prompt": "<prompt>",
"choices": "<choices>"
},
"name": "get_user_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the choice dialog window | |
| prompt | Yes | The prompt/question to show to the user | |
| choices | Yes | List of choices to present to the user | |
| allow_multiple | No | Whether user can select multiple choices |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||