TOOL API

slide_add_slide

Inserts a new slide into a presentation at a 0-based position that must fall within [0, current slide count], where a value equal to the slide count appends to the end; -1 is not supported and out-of-range values fail with page insert index out of range. If you don't know the current slide count, call slide_get_info first to get slide_count. 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.slide_add_slide
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

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