export_plot
Export a plot to HTML, PNG, or SVG format and retrieve the encoded content for saving or displaying.
Instructions
Export a plot to a specified format and return the encoded content.
Returns the exported content as base64 (for binary formats) or raw text (for HTML). The AI assistant can then save it to a file or display it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Override width in pixels | |
| format | No | Export format — 'html', 'png', 'svg' | html |
| height | No | Override height in pixels | |
| plot_id | Yes | ID of the plot to export |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |