Get Table Relationships
get_relationshipsDiscover foreign key relationships between database tables to understand data dependencies and structure.
Instructions
Get foreign key relationships between tables in the database
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": "get_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: dbo) | |
| connectionName | No | Named connection to use (e.g., 'production', 'staging') |