ai_summarize_schema
Generate a natural language overview of a database schema, breaking it into modules, core entities, and relationships for easier understanding and LLM alignment.
Instructions
对整库 schema 做自然语言概述: 总览、模块划分 (按前缀)、核心实体 (列数 + 命中模式)、关键关系。便于用户理解大库,或在生成前对齐 LLM 的 mental model。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_names | Yes | 整库表名列表 | |
| foreign_keys | No | 可选 FK 关系 [{from_table, to_table, ...}] | |
| table_column_counts | No | 可选, {表名: 列数} 用于推断核心实体 |