project_allowed_check_constraints
Retrieve allowed values for CHECK constraint enum fields in project.db by specifying a table and field name. Parses schema to extract CHECK(field IN (...)) constraints.
Instructions
Returns list of allowed values for CHECK constraint enum fields in project.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": "project_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 |