TOOL API

doc.pre_insert_attachment

Prepares an attachment insertion in a Tencent Docs Word document and returns the upload URL and object_key. Upload the file to the returned upload_url with an HTTP PUT, then call insert_attachment to finish inserting it. 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.pre_insert_attachment
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

ext

附件扩展名

file_id

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

file_name

文件名

file_url

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

is_multi_part

是否分片上传

size

附件大小

version_info

版本参数