TOOL API
doc. insert_ attachment
Inserts an attachment into a Word document at the specified position. This is the follow-up to pre_insert_attachment: first call pre_insert_attachment to get upload_url and object_key, upload the file via HTTP PUT, then call this tool to finish inserting the attachment. 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_attachment
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
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版本参数