confirm_delete_note
Deletes a note from the demo list only after the user confirms via a yes/no prompt. Declining or cancelling returns a normal result with nothing deleted.
Instructions
Delete one note from the demo note list, after asking the user to confirm. The first call returns an input request (a yes/no form, MCP 2026-07-28 elicitation) instead of a result; the client shows it to the user and calls again with the answer. Confirming deletes the note and returns what is left; declining, cancelling or answering no returns a normal result saying nothing was deleted, never an error. The list is a fixed in-memory demo (groceries, ideas, todo) rebuilt on every call, so nothing is really lost; a name that is not on the list returns a normal result saying so, without asking. Needs a client that speaks MCP 2026-07-28 and supports elicitation; older clients get a tool error that says so.
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": {
"note": "<note>"
},
"name": "confirm_delete_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | name of the note to delete: groceries, ideas or todo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | what was deleted and what remains, or that nothing was deleted |