Get a chart's spec
get_chart_specThe component, its props, sizes and the JSON Schema of its data prop, for one chart type by slug (from search_charts). Shape the user's data to the schema.
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_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The type's slug, e.g. waterfall |