工具 API
doc. insert_ attachment
在 Word 文档指定位置插入附件(DOC)。本接口是 pre_insert_attachment 的后续步骤:必须先调用 pre_insert_attachment 获取 upload_url 和 object_key,客户端使用 HTTP PUT 上传文件成功后,再调用本接口完成附件插入 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.insert_attachment
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
classify附件分类
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_name文件名
file_type文件类型
file_url腾讯文档的URL链接(推荐),与file_id二选一
idx插入位置索引
layout_type布局类型
object_key文件标识key
size文件大小
text显示文本
upload_success是否上传成功
version_info版本参数