更新多维表格记录
feishu_bitable_updateUpdate specific fields of a single Feishu Bitable record by record_id, leaving all other fields unchanged. Use it to fix incorrect values, advance a status, or attach files to one record.
Instructions
按 record_id 更新某条记录的部分字段(只覆盖 fields 里出现的字段,其余字段不动)。写操作,会真的改用户的表:record_id 必须先通过 feishu_bitable_records 查到,别自己编。值形态的规矩和 feishu_bitable_add 一样:文本传字符串、数字传数字、日期传毫秒时间戳、单选传选项字符串、多选/人员/附件/关联传数组。适合:修正一条错数据、推进状态、补填附件。不适合:整表批量改(逐条调用)。
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>",
"record_id": "<record_id>",
"fields": "<fields>"
},
"name": "feishu_bitable_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | 要改的字段名 → 新值;未出现的字段保持原值。形如 {"状态":"已完成","完成日期":1700000000000}。值形态必须匹配字段类型(文本字符串、数字数字、日期毫秒时间戳、单选选项字符串、多选/人员/附件数组)。 | |
| table_id | Yes | 记录所在的数据表 id(形如 tbliz1PrMZkp1DSN) | |
| app_token | Yes | 多维表格的 app_token(Base 链接里 /base/ 后面那串) | |
| record_id | Yes | 要更新的记录 id(rec 开头,形如 recxxxxxxxx)。先用 feishu_bitable_records 查出来。 |