check_keys
Verify whether one or more dataset columns form a unique key by detecting missing values and duplicate combinations, then report affected row counts with example row numbers.
Instructions
Check whether a column (or set of columns) works as a unique key: no missing values and no repeats. Reports how many rows break it, with example row numbers.
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": {
"dataset": "<dataset>"
},
"name": "check_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | Check whether these columns together uniquely identify every row, such as ['id'] or ['order_id', 'line']. Omit to list candidate keys and check every id-like column. | |
| dataset | Yes | A dataset name returned by load_dataset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||