getConstraint
Obtain constraint details for a given database schema and table. Optionally specify a constraint name to filter results.
Instructions
Get constraint(s).
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "getConstraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name | |
| table | Yes | Table name | |
| constraint | No | Constraint name(s) |