feishu_insert_table
Insert tables into Feishu documents using Markdown syntax or structured data arrays. Specify document ID, headers, rows, column widths, and insertion position.
Instructions
在飞书文档中插入表格。支持 Markdown 表格语法或结构化数据输入。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | 飞书文档 ID 或 URL | |
| markdown_table | No | Markdown 格式的表格。例如:| 列1 | 列2 |\n|---|---|\n| 值1 | 值2 | | |
| headers | No | 表头数组。与 rows 配合使用,二选一:markdown_table 或 headers+rows | |
| rows | No | 数据行数组。每行是一个字符串数组 | |
| header_row | No | 第一行是否为表头样式(默认 true) | |
| column_width | No | 列宽数组(像素),不指定则自动分配 | |
| block_id | No | 插入位置的 Block ID。不指定则追加到文档末尾 |