generate_ppt_html
Converts content HTML into a self-contained presentation file with inlined Plotly.js for offline use, returning a 72-hour download link by default.
Instructions
演示文稿封装:内容HTML → 自包含HTML(Plotly.js内联,离线可用)。先用 ppt_extract_data 取数并撰写内容,再调本工具出成品(成品常达2~4MB,默认返回72h下载短链(return_mode="base64" 可回退))。HTML结构要求先看 get_skill_instructions(skill=ppt)。前置:需先调 get_protocol_instructions。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | 成品文件名(.html) | |
| return_mode | No | 成品交付方式:base64(默认,兼容);url 推荐——返回72h下载短链(file.url),防大文件(本工具成品常达MB级)撑爆上下文,外部客户端建议默认 url | |
| content_html | Yes | 完整内容HTML文档 |