check
Run a data-quality watch across all tables and return a CI-style pass/fail gate based on CRITICAL or WARNING anomaly severity.
Instructions
Run a watch over all tables and return a CI-style pass/fail gate.
fail_on is "critical" (default — fail only on CRITICAL) or "warning"
(stricter — fail on WARNING or worse). Mirrors scherlok ci. Returns
passed plus the severity counts the decision was based on. Like watch,
it saves what it sees except a table with a CRITICAL anomaly, so a check
failing on CRITICAL keeps failing until the data recovers, while one
failing on a WARNING passes next time; verify saves nothing. With
baselines locked, check saves no profiles either.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fail_on | No | critical |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||