Delete dive
logbook_delete_divePermanently delete a dive from a PADI logbook by dive id, confirming its title first. Locked or photo-bearing dives cannot be removed here.
Instructions
Delete a dive from the PADI logbook for good (PADI has no trash). Ask the user first, unless they clearly asked to delete this dive. confirm_title must be the dive's title (as logbook_get_dive shows it; case and spaces at the ends do not matter). Dives that are Pending, Verified or QR Code Verified are locked: they cannot be changed or deleted. Returns the deleted dive, so it can be created again with logbook_create_dive (as a new dive with a new id). Photos are not part of the returned dive: a dive that has photos is not deleted here (delete it on learning.padi.com, which also deletes its photos).
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": {
"dive_id": "<dive_id>",
"confirm_title": "<confirm_title>"
},
"name": "logbook_delete_dive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dive_id | Yes | The dive id (from logbook_list_dives) | |
| confirm_title | Yes | The dive's title, exactly as in the logbook (case does not matter), to confirm the delete. For a dive without a title: its id |