user_directives_allowed_check_constraints
Retrieve allowed values from CHECK constraints on enum fields in user_directives.db. Provide table and field names to get the list of permissible values.
Instructions
Returns list of allowed values for CHECK constraint enum fields in user_directives.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": "user_directives_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 |