get_sample_data
Retrieve sample rows from any database table to inspect data formats like dates, IDs, and currency precision. Sensitive fields are automatically masked to protect privacy.
Instructions
获取表的示例数据(已自动脱敏)。用于了解数据格式,如日期格式(2024-01-01 vs 20240101)、ID格式(UUID vs 自增)、金额精度等。敏感数据(手机号、邮箱、身份证等)会自动脱敏保护隐私。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回行数(可选,默认 3,最大 10) | |
| columns | No | 要查看的列(可选,默认全部列) | |
| tableName | Yes | 表名。支持 schema.table_name 格式指定 Schema(如 analytics.users)。 |