get_relations
Retrieve foreign-key relationships (outgoing and incoming) for a table to understand data-flow impact before writing.
Instructions
Foreign-key relationships for a table: outgoing (FKs this table
declares) and incoming (other tables referencing this one). Use this to
understand the data-flow impact before any write.
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": "get_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||