get_table_relationships
Retrieve foreign key relationships for a specific table or all tables within a schema in CockroachDB. Use this tool to analyze and manage table dependencies efficiently.
Instructions
Get foreign key relationships for a table or all tables.
Args: table_name (str, optional): Table name to filter relationships (default: None).
Returns: List all relationships for a specific table or in a schema.
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": "get_table_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | No |