Confirm a destructive action
lnkdrp_confirm_actionThe action behind the buttons on LinkDrop's confirmation card: carries out, or cancels, the one action the card showed. Takes the card's token, which only the card holds; a token that is expired, used, or from another connection changes nothing.
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": {
"cardToken": "<cardToken>",
"decision": "<decision>"
},
"name": "lnkdrp_confirm_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | once: the action runs now. remember: the action runs now, and the person's standing permission for that tool is recorded on this connection. cancel: nothing changes. shown: the card reports that it is on screen; nothing changes. | |
| cardToken | Yes | The token the card received with the action it shows. |