Describe relationships
describe_relationshipsMap declared foreign-key edges and join columns across a database schema, including edge counts and tables with no detected relationships, so you can plan joins before writing queries.
Instructions
Return declared foreign-key edges and their join columns across the discovered schema, plus the edge count and tables without a detected relationship. Use this before a join. Use describe_table for specific column and key details.
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": "describe_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Alias from list_connections. Omit only when exactly one database is open. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||