yearning_table_fields
Retrieve table structure for a specified database and table, listing field type, nullability, key, default value, comment, and index information.
Instructions
查看表结构:字段列表(类型/可空/键/默认值/注释)与索引信息。
对应 API:GET /api/v2/fetch/fields
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名 | |
| database | Yes | 库名 | |
| source_id | Yes | 数据源 ID | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |