TOOL API

doc.list_recent_ai_edits

Lists a Tencent Docs document's recent AI edit records made through MCP write tools, newest first, each with its version, tool name, time and arguments. Always call this before undoing an AI edit: match the record to the user's description by tool_name or tool_args, then pass its version to doc.undo_ai_edit as target_version; never undo directly or guess a version. Only MCP write-tool edits are recorded (not manual or CommitRevision edits), records expire after 7 days, and only the latest 200 edits per document can be undone.

productivityOAuth1 credits

Call information

Tool slug
tencent-docs.doc.list_recent_ai_edits
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_id

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

file_urlrequired

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

limit

返回条数;缺省10,最大50

tool_name

可选:按工具名过滤(精确匹配,如 "doc_replace_image")

version_info

版本参数