工具 API
slide_ add_ slide
在演示文稿中插入一张新幻灯片。index 为 0-based 插入位置,必须落在 [0, 当前页数] 区间(等于当前页数即追加到末尾,不支持 -1,越界会报 page insert index out of range);不确定当前页数时先调 slide_get_info 拿 slide_count;layout_index 为首个母版下的布局序号(0=标题,1=标题+内容 等),默认 0(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_slide
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
file_id文档ID,与 file_url 二选一
file_url在线幻灯片URL,与 file_id 二选一
index0-based 插入位置,必须 ∈ [0, 当前页数](=当前页数即追加到末尾),不支持 -1。不确定时先调 slide_get_info 拿 slide_count。
layout_index布局序号(0=标题,1=标题+内容 等),默认 0