db.constraints
List constraints for all user tables or one table, including primary keys, foreign keys, unique constraints, and checks.
Instructions
List constraints for all user tables or one table, including primary keys, foreign keys, unique constraints, and checks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "db.constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| database | No |