工具 API

create_slide

通过AI生成或编辑幻灯片(PPT)。后端内置独立AI,自动生成PPT内容和排版。 ## 核心规则(必须遵守) 1. description = 用户原话。逐字复制用户输入,禁止添加、改写、扩写、润色任何文字 2. reference_context = 仅用户主动提供的材料。用户未提供材料时禁止传此参数,禁止Agent搜索或生成资料 ## 使用方式 - 首次生成:不传session_id - 多轮编辑:传入之前返回的session_id - 异步接口,使用generate_slide.js脚本完成创建和轮询:node generate_slide.js --description '用户原话' [--reference_context '用户提供的材料'] [--session_id '会话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.create_slide
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

description必填

用户的原始输入文本,逐字复制,禁止Agent添加、改写、扩写或润色任何内容

reference_context

用户主动提供或上传的参考材料原文,UTF-8文本。用户未提供材料时禁止传此参数,禁止Agent搜索或生成资料填充

session_id

会话ID,用于多轮对话编辑PPT,在多轮编辑中长期有效。首次创建时不传,后续编辑时传入上一次create_slide返回的session_id,即可对同一份PPT进行修改。注意:session_id不受单次轮询20分钟超时的限制,Agent不要提示用户session_id可能过期