list_foreign_keys
List foreign key relationships between tables to reveal data model associations and join paths in PostgreSQL.
Instructions
List foreign key relationships between tables to understand data model associations and joins
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 | Optional table name to filter relations for a specific table | |
| schema | No | Schema name (default: "public") | public |