find_join_path
Find the shortest chain of declared foreign keys between two tables and get ready-to-use JOIN lines.
Instructions
How two tables relate: the shortest chain of declared foreign keys between them, as ready-to-use JOIN lines.
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": {
"from_table": "<from_table>",
"to_table": "<to_table>"
},
"name": "find_join_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_table | Yes | ||
| connection | No | ||
| from_table | Yes |