delete_wallet
Permanently removes a Bitcoin or Liquid wallet, its seed, and cached data through a two-step preview and explicit confirmation to prevent accidental deletion.
Instructions
Permanently delete a wallet, its seed and all its cached data (irreversible). Two-step: call WITHOUT confirm first to get a preview (balances, warning, confirm_token) and delete nothing; show it to the user, ask for explicit confirmation, then call again with confirm=true and that confirm_token. Use the 'delete_wallet' prompt for the safe workflow.
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": {
"wallet_name": "<wallet_name>"
},
"name": "delete_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Two-step flow: false/omitted returns a preview (balances, warning) and deletes nothing; true permanently deletes the wallet and its seed. Only set true after the user explicitly confirmed. | |
| wallet_name | Yes | Name of the wallet to delete | |
| confirm_token | No | Single-use token from the preview; required with confirm=true. |