TOOL API

create_slide

Generates or edits a slide deck (PPT) with AI, which handles both content and layout. Pass the user's input verbatim as description without adding, rewriting, expanding, or polishing anything, and only pass reference_context when the user has actually supplied material. Omit session_id for the first generation and pass the session_id returned by the previous call to keep editing the same deck. This is an asynchronous tool: use the generate_slide.js script to create and poll, e.g. node generate_slide.js --description 'user text' [--reference_context 'user material'] [--session_id 'session 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 credits

Call information

Tool slug
tencent-docs.create_slide
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

descriptionrequired

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

reference_context

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

session_id

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