Confirm dialog (elicitation)
elicit_confirmPrompts users with a native yes/no dialog to confirm a simulated destructive action and verifies accept, decline, and cancel handling.
Instructions
Ask the user to confirm a (fake, harmless) destructive action via a native yes/no elicitation dialog. Demonstrates accept / decline / cancel handling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "elicit_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | Name of the fake item to "delete" | important-file.txt |