Upgrade a trial-hosted chart to premium (spends 1 paid credit)
upgrade_to_premiumUpgrade a chart to premium to remove the badge, unlock 2400px PNG and SVG, and apply custom branding without changing its URL. Safe to run multiple times.
Instructions
Same URLs, instantly rebranded: badge removed, 2400px PNG and SVG unlocked, custom branding applies. Idempotent for already-premium charts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "upgrade_to_premium"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ast_... |