工具 API

slide_add_section

在指定位置添加新节。提供 before_slide_index 或 after_section_id 之一来指定插入位置。\n- before_slide_index: 新节将拥有目标页及其后续页面(直到下一个节边界)。原来拥有该页的节将从下一页开始。\n- after_section_id: 新节作为空节插入到指定节之后,不会接管任何页面。 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_section
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

after_section_id

已有节的 ID,新节作为空节插入到该节之后(不接管任何页面);传空字符串表示在最开头插入空节。与 before_slide_index 互斥。使用 slide_get_sections 获取有效的 section ID

before_slide_index

0-based slide 索引,新节插入到该 slide 之前并拥有它(该 slide 成为新节的第一页)。原来包含该 slide 的节将从下一页开始。与 after_section_id 互斥

file_id

文档ID,与 file_url 二选一

file_url

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

name

节名称