foreign_keys
List foreign key constraints in PostgreSQL databases, with optional table filtering to inspect and understand data relationships.
Instructions
List foreign key constraints, optionally filtered by 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": "foreign_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Filter foreign keys for a specific table (optional) |