check
Runs a data quality watch and returns a CI-style pass/fail gate, failing on CRITICAL or WARNING severity anomalies to block pipelines until data recovers.
Instructions
Run a watch and return a CI-style pass/fail gate.
It covers the tables saved with scherlok connect --table, else every
table.
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 | |||