TOOL API

slide_move_slide

Moves one or more slides to a new position in a presentation. Always call slide_get_sections and slide_get_info first to get the current section list and slide indices, and provide only one of before_slide_index or after_section_id to specify where the moved slides land. 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_move_slide
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

after_section_id

现有幻灯片节的 ID。适用于非空和空的幻灯片节——当目标节还没有幻灯片时,请使用 after_section_id(空节没有 first_slide_index,因此 before_slide_index 无法准确地定位它们)。传递空字符串 "" 可以将幻灯片移动到演示文稿的最开头。与 before_slide_index 互斥

before_slide_index

基于 0 的幻灯片索引。被移动的幻灯片将被插入到当前位于该索引位置的幻灯片之前(即被移动的第一张幻灯片最终将占据该索引位置)。若要将幻灯片移动至第 i 个章节的开头,请传入该章节的 first_slide_index(此时被移动的幻灯片将成为该章节新的首张幻灯片,并将原有的首张幻灯片向后顺延)。取值范围:[0, slide_count];若传入 slide_count,则表示将幻灯片追加至整个演示文稿的末尾。与 after_section_id 互斥

file_id

文档ID,与 file_url 二选一

file_url

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

page_indices

待移动幻灯片的 0-based 页索引列表(整数数组),长度 >= 1