publish_canvas
Publish a canvas artifact you presented with canvas_present at a public URL on the Ankra pages host, so the person can share it with someone who has no Ankra account. Pass the artifact_id canvas_present returned; the tool publishes the latest version you presented in this conversation (edits the person made by hand in the canvas panel are not seen here - they use the Publish button in the panel). Only html, svg and markdown artifacts can be published; javascript, json, yaml and text cannot. The page is a static snapshot served in a sandbox: its scripts run with no network, cookies or storage, window.ankra live data is not available, and a fixed notice names it as an AI-generated page published by an Ankra user. Anyone with the link can view it until it expires (ttl_hours, default 7 days, at most 30). Publishing the same artifact again keeps the same URL and extends the expiry. An organisation can have 50 live pages at once. The person approves the publication on a confirmation card before it goes public. Undo with unpublish_canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_hours | No | How long the page stays up, in hours. Omit for the default of 7 days. | |
| artifact_id | Yes | The artifact_id a canvas_present call in this conversation returned. |