工具 API

slide_set_theme

设置演示文稿的主题。支持两种模式:(1) switch:传入已存在于文档中的 theme_id,切换到该主题;(2) builtin:is_builtin=true,传入内置主题 ID(可通过 slide_list_builtin_themes 获取),由服务端自动加载内置 ThemeElements(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_set_theme
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

file_id

文档ID,与 file_url 二选一

file_url

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

is_builtin

是否使用内置主题(true 时 theme_id 须为内置主题 ID)

theme_id

目标主题 ID(必填)