Show an alert
show_alertDisplays a modal alert with an OK button and waits for dismissal, optionally closing after a set timeout.
Instructions
Show the user an alert with an OK button, and wait until it's dismissed. To tell them something without waiting, send a notification instead.
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": {
"message": "<message>"
},
"name": "show_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Smaller text under the message. | |
| message | Yes | What the dialog says. | |
| timeout_seconds | No | How long to wait for the user, in seconds, before closing the dialog as if it was cancelled. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |