TOOL API

slide_add_anim

Adds an animation effect to a shape on a specific slide. Get valid anim_type values from slide_list_anim_types first; set anim_subtype to 0 unless the type needs a direction (such as FLY_IN or FLY_OUT). index is the 0-based insertion position in the page's animation sequence: 0 inserts first, a positive N inserts at position N, and any value at or beyond the current animation count (for example 9999) appends to the end. 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_anim
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

anim_subtype

动画方向/子类型整数值,0 表示不需要

anim_type

动画类型整数值

file_id

文档ID,与 file_url 二选一

file_url

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

index

动画在该页动画序列中的插入位置,0-based,必须 >= 0。想追加到末尾时填一个 >= 当前动画数量的值即可(例如 9999),不支持 -1。

page_index

目标幻灯片页索引,从 0 开始

shape_id

目标形状的 shape_id