Metis — Save Project Figure
save_project_figureSave a chart or visual as HTML to a project so it renders live on the project dashboard. Pass the project slug, title, and HTML; resaving with the same title replaces the figure.
Instructions
Save a finished chart or visual (HTML) to a project so it shows on the dashboard.
Use after drawing a figure as an artifact: pass the same self-contained HTML
(inline SVG, or a chart library loaded from a CDN). It is stored under the
project and appears in the Figures section of that project's panel on the
Work tab, where it renders live. Saving again with the same title replaces it.
Args:
project_id: The project slug (as returned when the project was created).
title: Short figure title, shown above it on the dashboard.
html: The figure as HTML — a full page, or a fragment that will be wrapped.
caption: One or two sentences on what the figure shows, including the
denominator and data source.
Returns:
Where it was saved and the dashboard link that shows it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| title | Yes | ||
| caption | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |