sentinel_snapshot
Capture a model integrity snapshot with per-table row counts, group totals, and measure health. Use before and after changes to diff and catch regressions.
Instructions
Sentinel (the trust layer): take a model integrity snapshot - grand total, per-table row counts, per-group totals, and per-measure health - and optionally write it to a file. Take one before and one after a refresh (or any change), then sentinel_diff them to catch a regression - a vanished category, collapsed rows, a newly-broken measure - the instant it happens. CI/observability for BI.
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": {
"sessionId": "<sessionId>"
},
"name": "sentinel_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outPath | No | write the snapshot JSON to this path so you can diff it later | |
| maxGroups | No | max grouping columns to capture (default 14) | |
| sessionId | Yes | ||
| anchorMeasure | No | measure to anchor totals (default: first model measure) | |
| maxValuesPerGroup | No | only capture columns with at most this many distinct values (default 500) |