sqo_schema_distill
Compress SQL, Prisma, Laravel, Drift, SQLAlchemy, or GraphQL schemas into a <350-token Entity-Relationship DSL and Mermaid diagram to reduce AI context token use.
Instructions
Universal 6-Stack Database & GraphQL Schema Distiller: compresses 30k-90k tokens of SQL DDL, Prisma, Laravel migrations, Flutter Drift/Sqflite, SQLAlchemy, or GraphQL schemas into a <350-token Entity-Relationship DSL + Mermaid diagram.
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": {
"workspace": "<workspace>"
},
"name": "sqo_schema_distill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Workspace root directory or schema file path. |