manage_runtime_db
Run database maintenance, diagnostics, and SHA-256 Merkle audit verification, then create, diff, or restore snapshots for a runtime SQLite database.
Instructions
Database maintenance, diagnostics, SHA-256 Merkle audit verification, and snapshot management (actions: stats, audit, doctor, snapshot, diff, restore). Use manage_runtime_db instead of get_metrics when auditing SQLite integrity and Merkle proofs or restoring database snapshots.
Returns maintenance diagnostics, Merkle audit trees, snapshot metadata, or diff reports.
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": {
"action": "<action>"
},
"name": "manage_runtime_db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Snapshot name | |
| action | Yes | Database maintenance operation: stats, audit, doctor, snapshot, diff, restore | |
| project | No | Target project slug | |
| description | No | Snapshot description |