Verify backup integrity
litescope_checkVerify a SQLite backup by running a PRAGMA integrity check; optionally compare schema and row counts to a reference database. Returns a JSON report.
Instructions
Verify a SQLite backup. Runs a PRAGMA integrity check; if 'against' is given, also compares schema and row counts to a reference database. Returns a JSON report. Read-only. (Local files only.)
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": {
"source": "<source>"
},
"name": "litescope_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Also compare row counts per table | |
| source | Yes | Local path to the backup database to verify | |
| against | No | Optional local reference database to compare schema against |