get_table_relationships
Retrieve foreign key relationships for a table to identify joins and understand data connections.
Instructions
Get foreign key relationships for a table (helps with JOINs)
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": {
"tableName": "<tableName>"
},
"name": "get_table_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: dbo) | |
| tableName | Yes | Name of the table |