工具 API
doc. set_ table_ properties
修改表格属性(DOC)。通过表格内任意 cell 的 GCP 位置 idx 定位表格,可同时设置边框、对齐、宽度、单元格内边距,以及按 9 种 condition 染色单元格。全部字段可选,未提供的属性沿用原表格设置。cell_fills 中 condition 取值:whole_table / first_row / last_row / first_col / last_col / band_row_odd / band_row_even / band_col_odd / band_col_even。使用前请先调用 resolve_document_structure 获取文档结构以确定正确的位置索引。 if both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.
productivityOAuth1 积分
调用信息
- 工具标识
- tencent-docs.doc.set_table_properties
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
alignment对齐方式
borders边框
cell_fills单元格填充
cell_margin单元格内边距
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
idx必填表格内任意cell的GCP位置
version_info版本参数
width表格宽度