profile_table
Deterministically profile a table: row count, column types, enum degree, monotonicity, primary key candidates, cumulative sum checks, and role detection for reverse-engineering game spreadsheet structures.
Instructions
单表画像(确定性统计,无 LLM):行数、列类型分布、枚举度(distinct/行数)、单调性(递增/递减/无)、主键候选(唯一且非空列)、累计列校验(某列≈另一列逐行前缀和,取整容差)、角色候选(growth=有等级列且存在等差模式列;master_data=有索引/序号类列;cost=累计列校验成立)。逆向理解单表结构先用它,结论可经 save_structure 固化。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 目标表名(来自 list_tables) |