工具 API

slide_add_slides

在同一位置批量插入多张幻灯片,所有页共用同一布局模板。index 为 0-based 插入位置,必须落在 [0, 当前页数] 区间(=当前页数即追加到末尾,不支持 -1);不确定当前页数时先调 slide_get_info 拿 slide_count。count 必须 >= 1(SLIDE) 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.slide_add_slides
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

count

要插入的页数,必须 >= 1

file_id

文档ID,与 file_url 二选一

file_url

在线幻灯片URL,与 file_id 二选一

index

0-based 插入位置,必须 ∈ [0, 当前页数](=当前页数即追加到末尾),不支持 -1。不确定时先调 slide_get_info 拿 slide_count。

layout_index

布局序号(0=标题,1=标题+内容 等),默认 0