TOOL API

doc.insert_border

在指定位置插入分隔符(DOC)。通过设置段落底部边框来实现水平分隔线效果。⚠️ idx 必须是「分隔线上方那个段落」的 end_index(即该段落的段落分隔符 ¶ 的位置)。例如:想在第 2 段和第 3 段之间插入分隔线,应传第 2 段的 end_index。使用前请先调用 resolve_document_structure 获取文档结构以确定正确的插入位置索引。支持多种边框样式(single/thick/dotted/dashed等)和自定义颜色。 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 credits

Call information

Tool slug
tencent-docs.doc.insert_border
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

border_type

边框类型

color

边框颜色(hex)

file_id

在线文档DOC的文档唯一标识符(与file_url二选一)

file_url

腾讯文档的URL链接(推荐),与file_id二选一

idxrequired

段落位置索引

sz

边框粗细(1/8磅)

version_info

版本参数