find_direct_joins
Find foreign-key-defined direct joins between two tables (any direction) specified as 'schema.table'.
Instructions
Return FK-defined direct joins between two tables (either direction). Provide table names as 'schema.table' (e.g. 'dbo.Orders').
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": {
"source": "<source>",
"table_a": "<table_a>",
"table_b": "<table_b>"
},
"name": "find_direct_joins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| table_a | Yes | ||
| table_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |