core_allowed_check_constraints
Returns the list of allowed values for CHECK constraint enum fields in aimfp_core.db by parsing the table schema to extract CHECK(field IN (...)) constraints for a given table and field.
Instructions
Returns list of allowed values for CHECK constraint enum fields in aimfp_core.db. Parses schema to extract CHECK(field IN (...)) constraints.
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>",
"field": "<field>"
},
"name": "core_allowed_check_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to check for CHECK constraints | |
| field | Yes | Field name to get allowed values for |