get_constraints
List all constraints for a specified table in a MySQL database, including primary, foreign, and unique keys.
Instructions
Lista todas as constraints de uma tabela
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": {
"connectionName": "<connectionName>",
"tableName": "<tableName>"
},
"name": "get_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | Nome da tabela | |
| databaseName | No | Nome do banco de dados | |
| connectionName | Yes | Nome da conexão |