TOOL API
doc. replace_ image
Replaces an image in a Tencent Docs Word document; call get_images first and use its returned pos and image_url/attachment_id to fill idx and the old-image parameters. 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.replace_image
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
contentbase64 编码后的图片内容,与 image_id 二选一;适合图片较小的场景
file_id在线文档DOC的文档唯一标识符(与file_url二选一)
file_url腾讯文档的URL链接(推荐),与file_id二选一
idxrequired图片位置索引
image_id图片的 image_id,与 content 二选一;适合图片较大的场景
old_attachment_id旧附件图片ID
old_image_url旧图片URL
version_info版本参数