Publish an HTML-native presentation
publish_presentationCreate slides, a slide deck, pitch deck, talk, lesson, or keynote as a first-class HTML presentation. First call get_recipe: use recipeId "pm-decision-deck" for a product manager seeking a product decision, otherwise "presentation-deck". Structural validation and DOM checks alone are not visual QA. When browser or rendering tools are available, render and inspect the actual rendered pixels of every slide at the declared desktop canvas, a narrow viewport, and print size; fix the source HTML/CSS and re-render affected slides until the full deck passes before publishing, re-rendering every slide after shared CSS changes. If rendering is unavailable, tell the user that visual QA was not completed; publishing may proceed with that disclosure. ShareHTML sanitizes and validates the deck, persists it, applies access controls and CSP, and returns its presentation viewer URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | One complete static HTML document following the presentation-deck recipe. | |
| title | No | A distinctive deck title that will be easy to find later. | |
| sharing | No | Optional access policy. Omit it to publish privately. | |
| styleRef | No | Optional exact active reference from get_artifact_style with format presentation. Requires styles:read in addition to pages:write; records declared provenance, not visual fidelity. | |
| presentation | No |