list_foreign_keys
Fetch foreign key constraints for a MySQL table or list all foreign keys in the current database. Filter by table name to inspect relationships.
Instructions
List foreign keys for one table, or all in the current database.
Args: table_name: Optional table name. Empty = all foreign keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |