TOOL API
doc. set_ table_ properties
Updates table properties in a Tencent Docs document, including borders, alignment, width, cell padding, and conditional cell fills for nine region types (whole_table, first_row, last_row, first_col, last_col, band_row_odd, band_row_even, band_col_odd, band_col_even); the table is located by the GCP position idx of any cell inside it, and any property you omit keeps its existing setting. Call resolve_document_structure first to get the correct position index. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user choose the target account before invoking this tool.
Call information
- Tool slug
- tencent-docs.doc.set_table_properties
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
alignment对齐方式
borders边框
cell_fills单元格填充
cell_margin单元格内边距
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
header_rows跨页重复标题行数(w:tblHeader):n>0 时表格最上面 n 行在每页顶部重复,表格不用拆开、分页点随正文自动变化;0 表示取消重复表头;不传表示不修改。表头含纵向合并延伸到下面几行时,n 要包含这些行
idxrequired表格内任意cell的GCP位置
version_info版本参数
width表格宽度