TOOL API

aicanvas.reimport_page

Replaces an existing Page's entire content with a newly packaged .aipage artifact, for second-round edits. First call manage.pre_import to get the upload_url and file_key, PUT the repackaged .aipage file to that upload_url, then call this tool; the Page keeps its file_id and online link, and any bound smart sheet relationships are preserved. The current user must have edit permission on the Page. 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.aicanvas.reimport_page
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

file_idrequired

已有Page的file_id(首次生成时manage.import_progress返回的file_id,或从Page在线链接解析)

file_keyrequired

新制品的文件唯一标识,由manage.pre_import返回,需已将重新打包的.aipage文件PUT上传到对应upload_url

file_namerequired

文件名称(含.aipage后缀),需与pre_import时传入的file_name一致