db.relationships
List foreign-key relationships for all user tables or a single table to understand data dependencies and referential integrity.
Instructions
List foreign-key relationships for all user tables or one table.
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": "db.relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| database | No |