新增多维表格记录
feishu_bitable_addAdds a single record to a Feishu Bitable table and returns its record_id for later updates. Use it to save conversation conclusions, to-dos, or collected data into a table with field values matching each field type.
Instructions
往某个数据表里新增一条记录,返回 record_id(后续更新要用)。这是写操作,会真的改用户的表:不确定字段名和类型时,先调 feishu_bitable_fields 看定义、feishu_bitable_records 看现有数据的写法,别凭猜写。fields 的 key 必须是字段名(不是 field_id),值形态要匹配字段类型:文本传字符串、数字传数字、日期传毫秒时间戳、单选传选项字符串、多选/人员/附件/关联传数组。适合:把对话里的结论、待办、采集到的数据落进表。不适合:批量导入几百条(逐条调用会很慢)。
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>",
"fields": "<fields>"
},
"name": "feishu_bitable_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | 字段名 → 值。key 用字段名(不是 field_id),值形态必须匹配字段类型:文本传字符串("张三")、数字传数字(42)、日期传毫秒时间戳(1700000000000)、单选传选项字符串("进行中")、多选传字符串数组(["A","B"])、人员传 [{"id":"ou_xxx"}]、附件传 [{"file_token":"box_xxx"}]、复选框传 true/false。只写想设值的字段,没写的字段保持空。 | |
| table_id | Yes | 要写入的数据表 id(形如 tbliz1PrMZkp1DSN) | |
| app_token | Yes | 多维表格的 app_token(Base 链接里 /base/ 后面那串) |