Get chart source
get_sourceThe full TypeScript source of a chart, to write into the project at components/charts/.tsx (the shared core installs with the 'core' slug). Free charts are open; Pro charts need the user's access key sent as 'Authorization: Bearer clui_…' in the MCP connection. Prefer the shadcn install command when a terminal is available.
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_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Chart slug, or 'core'. |