desktop_dismiss_notification
Dismiss a desktop notification by its 1-based index and optionally verify its app or title first to avoid closing the wrong alert.
Instructions
agent-desktop dismiss-notification: Dismiss a notification by index
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": {
"index": "<index>"
},
"name": "desktop_dismiss_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Require the notification at INDEX to be from this app; INDEX is its position in the unfiltered list | |
| index | Yes | 1-based notification index from list-notifications | |
| expected_app | No | Expected app name at INDEX; one expected identity field is required | |
| expected_title | No | Expected title at INDEX; one expected identity field is required |