mssql_get_relationships
Retrieve foreign key relationships between tables, including constraint names, source and target columns, and delete and update actions. Optionally filter by table name.
Instructions
Get foreign key relationships between tables: constraint name, from/to table and column, and delete/update actions. Optionally filter by table name (matches either side).
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": "mssql_get_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | No | Optional: only show relationships involving this table. | |
| response_format | No | Response format (default: markdown) | markdown |