analyze_database_schema
Analyze Cloudflare D1 database schema structure to understand tables, columns, indexes, and relationships with optional sample data inspection.
Instructions
Analyze D1 database schema structure, tables, columns, indexes, and relationships with optional sample data
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | Yes | Database environment to analyze | |
includeSamples | No | Include sample data from tables (max 5 rows per table) | |
maxSampleRows | No | Maximum number of sample rows per table |
Input Schema (JSON Schema)
{
"properties": {
"environment": {
"description": "Database environment to analyze",
"enum": [
"development",
"staging",
"production"
],
"type": "string"
},
"includeSamples": {
"default": true,
"description": "Include sample data from tables (max 5 rows per table)",
"type": "boolean"
},
"maxSampleRows": {
"default": 5,
"description": "Maximum number of sample rows per table",
"type": "number"
}
},
"required": [
"environment"
],
"type": "object"
}