audit_column
Recompute each row of a numeric column against an anchor formula (x = varColumn value) and flag rows deviating beyond a threshold (default 1%) to reveal manually tuned growth-curve breakpoints.
Instructions
列审计(对账):用锚点公式重算指定列的每一行(变量 x=varColumn 该行值,i=行序),报告偏离公式超过阈值(默认 1%)的行——识别成长曲线的手调断点。先看 list_tables 的 columnPatterns 了解列的既有模式。
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": {
"table": "<table>",
"column": "<column>",
"expression": "<expression>",
"varColumn": "<varColumn>"
},
"name": "audit_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 目标表名 | |
| column | Yes | 被审计的数值列 | |
| varColumn | Yes | 作为变量 x 的列(通常是等级/序号列) | |
| expression | Yes | 期望公式(x=varColumn 值,i=行序),如 100 + 5 * (x - 1) | |
| thresholdPct | No | 偏离阈值百分比(默认 1) |