db_fk
db_fkInspect inbound and outbound foreign-key references for a database table using pg_catalog to understand table relationships.
Instructions
Read-only database tool for relationship questions: inspect inbound and outbound foreign-key references for a table via pg_catalog.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "db_fk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| projectId | No | ||
| projectRef | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| _hints | Yes | ||
| schema | Yes | ||
| inbound | Yes | ||
| outbound | Yes | ||
| toolName | Yes |