MD_DELETE_GUIDE
Preview
This feature is in preview and is subject to change.
Soft-delete a Guide, identified by ID. The version history is preserved internally. Only the Guide's owner can delete it.
Syntax
SELECT * FROM MD_DELETE_GUIDE(id = '<guide_uuid>');
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | The Guide's UUID. |
Return columns
| Column | Type | Description |
|---|---|---|
success | BOOLEAN | true when the Guide was deleted, false otherwise |
References from other Guides to a deleted Guide are left dangling and resolve to not-found.
Examples
Verify the Guide, then delete it:
-- Verify first
SELECT topic, title, current_version
FROM MD_GET_GUIDE(id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890');
-- Then delete
SELECT success
FROM MD_DELETE_GUIDE(id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890');
Related
MD_GET_GUIDE— Verify the Guide content before deleting.MD_LIST_GUIDES— Find the Guide's ID.delete_guideMCP tool — AI assistant equivalent.