apex_detect_relationships
Detect foreign key relationships between a list of database tables, simplifying schema analysis.
Instructions
Auto-detect FK relationships between a list of tables.
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": {
"tables": "<tables>"
},
"name": "apex_detect_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | Yes | List of table names to analyse (case-insensitive). Example: ["ORDERS", "CUSTOMERS", "ORDER_ITEMS", "PRODUCTS"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |