list_relationships
List foreign keys linking tables in a database. Filter by schema or table to identify related data and dependencies.
Instructions
List foreign keys whose source or target matches the optional filters.
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": {
"connection_id": "<connection_id>"
},
"name": "list_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| schema | No | ||
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_status | Yes | Observable cache freshness and last refresh state. | |
| table_filter | Yes | ||
| connection_id | Yes | ||
| relationships | Yes | ||
| schema_filter | Yes | ||
| contract_version | No | 1.0.0 |