数据表的字段定义
feishu_bitable_fieldsLists every field in a Feishu Bitable table—names, IDs, type codes, and required JSON value formats—so you can build valid add/update payloads before writing records.
Instructions
列出某个数据表的全部字段:字段名、field_id、类型码 + 中文类型名,以及这个字段写入时该传的值形态。新增/更新记录之前先调这个:飞书不同字段类型吃的 JSON 形态完全不同(文本传字符串、日期传毫秒时间戳、人员传 [{"id":"ou_xxx"}]、附件传 [{"file_token":"box_xxx"}]),先看类型码再写 fields,能避免 1254001 / 1254045 之类的字段校验报错。字段名就是 feishu_bitable_add / feishu_bitable_update 里 fields 的 key,必须一字不差。只返回文本,不修改数据。
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": {
"app_token": "<app_token>",
"table_id": "<table_id>"
},
"name": "feishu_bitable_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | 数据表 id(形如 tbliz1PrMZkp1DSN)。不知道就先调 feishu_bitable_tables。 | |
| app_token | Yes | 多维表格的 app_token(Base 链接里 /base/ 后面那串) |