delete_graph
Remove a knowledge graph from the Mnemosyne MCP server with optional backup creation and required confirmation for safety.
Instructions
Delete a graph after confirmation.
Args:
graph_id: Graph to delete
confirm: Confirmation flag (required for safety)
backup: Whether to create backup before deletion
ctx: MCP context for user authentication
Returns:
JSON response with deletion confirmation and backup info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| confirm | No | ||
| backup | No |
Input Schema (JSON Schema)
{
"properties": {
"backup": {
"default": true,
"title": "Backup",
"type": "boolean"
},
"confirm": {
"default": false,
"title": "Confirm",
"type": "boolean"
},
"graph_id": {
"title": "Graph Id",
"type": "string"
}
},
"required": [
"graph_id"
],
"type": "object"
}