get_table_relationships
Extract and analyze foreign key relationships between tables in Cloudflare D1 databases to understand data connections and dependencies.
Instructions
Extract and analyze foreign key relationships between tables in the database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | Yes | Database environment to analyze | |
tableName | No | Optional: Filter relationships for specific table |
Input Schema (JSON Schema)
{
"properties": {
"environment": {
"description": "Database environment to analyze",
"enum": [
"development",
"staging",
"production"
],
"type": "string"
},
"tableName": {
"description": "Optional: Filter relationships for specific table",
"type": "string"
}
},
"required": [
"environment"
],
"type": "object"
}