get_foreign_keys
Retrieve all foreign keys for a specified MySQL table by connection and table name, so you can inspect relationships and constraints.
Instructions
Lista todas as chaves estrangeiras 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_foreign_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | Nome da tabela | |
| databaseName | No | Nome do banco de dados | |
| connectionName | Yes | Nome da conexão |