查看表结构
yearning_table_fieldsRetrieve table structure: field list (type, nullability, key, default, comment) and indexes. Quickly inspect database schemas for query planning.
Instructions
查看表结构:字段列表(类型/可空/键/默认值/注释)与索引。对应 GET /api/v2/fetch/fields
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": {
"source_id": "<source_id>",
"database": "<database>",
"table": "<table>"
},
"name": "yearning_table_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名 | |
| database | Yes | 库名 | |
| source_id | Yes | 数据源 ID | |
| response_format | No | markdown |