get_table_relationships
Extract foreign key relationships between database tables to map dependencies and constraints in development, staging, or production environments.
Instructions
Extract and analyze foreign key relationships between tables in the database
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": {
"environment": "<environment>"
},
"name": "get_table_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | No | Optional: Filter relationships for specific table | |
| environment | Yes | Database environment to analyze |