mysql_list_constraints
List all constraints and foreign keys for a specific table in a MySQL database. Use this tool to retrieve constraint details for database analysis.
Instructions
List table constraints and foreign keys in a MySQL database.
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": "mysql_list_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| database | No | ||
| connectionId | No | Id of the mysql connection to use. Optional when only one mysql connection is configured. |