get_table_foreign_keys
Retrieve foreign key constraints for a given table in Metabase to understand its relationships with other tables.
Instructions
Get foreign keys for a table in Metabase
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": {
"input": "<input>"
},
"name": "get_table_foreign_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |