db_schema_delete
Remove a database schema snapshot by ID to manage stored database structures in the schema-engram-mcp server.
Instructions
Elimina una instantánea por id.
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": {
"snapshot_id": "<snapshot_id>"
},
"name": "db_schema_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- schema_engram_mcp/server.py:168-172 (handler)The tool definition and handler for 'db_schema_delete', which wraps the storage.delete_snapshot function.
@mcp.tool() def db_schema_delete(snapshot_id: int) -> str: """Elimina una instantánea por id.""" ok = storage.delete_snapshot(_get_conn(), snapshot_id) return json.dumps({"ok": ok}, ensure_ascii=False)