describe_relationships
Show foreign key relationships for a table, including both outgoing references to other tables and incoming references from other tables.
Instructions
Show foreign key relationships for a table: both outgoing (this table references others) and incoming (others reference this table).
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": "describe_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name in 'schema.table' format (e.g., 'public.orders') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |