/charting | Type: Embedded | PCID required: No
Deploy pre-built Chart.js visualizations to a shareable URL.
Tools
| Tool | Description |
|---|---|
charting_deploy_chart | Deploy a Chart.js chart to a shareable URL |
charting_deploy_chart
Deploy a Chart.js visualization to a shareable URL. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
html_content | string | Yes | — | Chart.js HTML code to deploy |
collectionId | string | Yes | — | Filestorage collection to store the deployed file |
sdk_file_id | string | No | — | File ID to resolve for data URL placeholder |
filestorage_id | string | No | — | Preferred data source for URL placeholder |
output_filename | string | No | "chart.html" | Output filename for the deployed file |
file_links_expire_in_days | number or "never" | No | 7 | Link expiration in days (1–30) or "never" |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the deployment succeeded |
status | string | Deployment status |
html_url | string | Shareable URL for the deployed chart |
html_size | number | Size of the deployed HTML in bytes |
filename | string | Name of the deployed file |
id | string | Unique identifier for the deployed file |

