TOOL API

doc.find_and_replace

Finds every occurrence of a text string in a Tencent Docs word processing document and replaces it with new text, replacing all matches. 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.find_and_replace
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_id

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

file_url

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

new_textrequired

替换后的新文本

old_textrequired

要查找的原文本

version_info

版本参数