MD_DELETE_DIVE
Public Preview
Dives are currently in public preview and functionality is subject to change.
Permanently deletes a Dive and all its versions. This action cannot be undone.
Syntax
SELECT * FROM MD_DELETE_DIVE(id = 'your-dive-uuid'::UUID);
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | The unique identifier of the Dive to delete |
Return Columns
| Column | Type | Description |
|---|---|---|
success | BOOLEAN | true if the Dive was deleted |
Examples
Delete a Dive:
SELECT * FROM MD_DELETE_DIVE(id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'::UUID);
Errors
Returns an error if the Dive does not exist.
Related
MD_LIST_DIVES— List Dives to find the IDdelete_diveMCP tool — AI assistant equivalent