Get a chart's code
get_chart_codeThe install command and the component file for one chart type, plus an example file with sample data. Paid types need a Code or Complete licence key sent as the Bearer token.
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": {
"slug": "<slug>"
},
"name": "get_chart_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The type's slug, e.g. waterfall | |
| with | No | chart (default), its widget, or the interactive widget |