prompt_user
Display interactive dialog prompts on macOS to collect user input, customize messages, default text, button labels, and icons for effective notifications.
Instructions
Display a dialog prompt to get user input
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buttons | No | Optional custom button labels (max 3) | |
defaultAnswer | No | Optional default text to pre-fill | |
icon | No | Optional icon to display | |
message | Yes | Text to display in the prompt dialog |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"buttons": {
"description": "Optional custom button labels (max 3)",
"items": {
"type": "string"
},
"maxItems": 3,
"type": "array"
},
"defaultAnswer": {
"description": "Optional default text to pre-fill",
"type": "string"
},
"icon": {
"description": "Optional icon to display",
"enum": [
"note",
"stop",
"caution"
],
"type": "string"
},
"message": {
"description": "Text to display in the prompt dialog",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}