工具 API

doc.find_and_replace

在 Word 文档中查找所有匹配文本并直接替换为新文本,会替换所有匹配项(DOC) 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.find_and_replace
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

file_id

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

file_url

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

new_text必填

替换后的新文本

old_text必填

要查找的原文本

version_info

版本参数