Delete the wallet
delete_walletDeletes the saved wallet and its recovery code now and for good, and signs out every app connected to it, this one included. earnrate.dev and the earnrate command line keep their own wallets and aren't affected. Only when the user asks to delete it: show it with list_wallet, offer export_wallet, and pass confirm, cards and saved only after the user confirms. It refuses if the wallet no longer holds what list_wallet showed, so a retried call can't delete a different wallet.
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": {
"confirm": "<confirm>",
"cards": "<cards>"
},
"name": "delete_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | How many cards the wallet held when the user confirmed, from list_wallet: 0 for an empty wallet. | |
| saved | No | How many memberships and point values list_wallet showed, counted together: 0 if none. | |
| confirm | Yes | true, only after the user confirms the deletion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes |