add_expectation
Add a data-quality expectation to an existing suite or create a new one, specifying the expectation type and parameters like column and value set.
Instructions
Add a single expectation to an existing suite (or create it).
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": {
"suite_name": "<suite_name>",
"expectation_type": "<expectation_type>",
"kwargs": "<kwargs>"
},
"name": "add_expectation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes | Parameters for the expectation (e.g., {"column": "status", "value_set": ["active", "inactive"]}) | |
| suite_name | Yes | Name of the expectation suite | |
| expectation_type | Yes | Type of expectation (e.g., "expect_column_values_to_be_in_set") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |