list_foreign_keys
List foreign key constraints for a table, showing dependencies and relationship details. Useful for understanding referential integrity between tables.
Instructions
List foreign key constraints for a table.
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": "list_foreign_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| database | No | Database/schema name; defaults to connection default_database | |
| connection | No | Named connection from config; defaults to default_connection |