写入多维表格记录
write_feishu_base_recordsBatch create or update up to 200 records in Feishu Bitable. Specify mode, base token, table ID, and records with field mappings to add or modify entries.
Instructions
向飞书多维表格(bitable)批量新增或更新记录,单次最多 200 条。mode=create 时 records 为字段对象数组;mode=update 时每项需含 record_id 和 fields。字段值约定:文本直接字符串,单选/多选用字符串数组,日期用 'YYYY-MM-DD HH:mm',勾选用 true/false,数字用数值。先用 describe_feishu_base 确认可写字段。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | create=批量新增;update=按 record_id 批量更新 | |
| records | Yes | 记录数组,单次最多 200 条 | |
| table_id | Yes | 数据表 ID(tbl 开头)或表名 | |
| base_token | Yes | 多维表格 token |