get_grapher_config_reference
Returns chart-authoring recipes, minimal configuration examples, text length limits, and common pitfalls for a given chart type. Use this before building or editing a chart-data pipeline step to understand what the Grapher expects.
The chart type to query. Examples:
"LineChart", "ScatterPlot", "Map", "DiscreteBar".Level of detail.
"default" returns compact authoring recipes and minimal examples. "full" includes exhaustive field definitions for the chart type.availableChartTypes, minimalCreationConfig, editRecipes, textLengthLimits (title ≤ 100 chars, subtitle ≤ 140, footer note ≤ 140), and pitfalls.
Example prompt
“What’s the minimal config for a line chart in Alphacast Grapher?”
validate_grapher_config
Validates a chart-data step configuration or a raw Grapher config object against the schema. Returns errors and warnings without saving anything. Use this to check your config before passing it to edit_pipeline_step or add_pipeline_step.
The configuration object to validate. Can be a
chart-data step configuration or a raw Grapher config (set validateRawGrapher: true for the latter).Upstream output columns (
name, isEntity, dataType). Helps the validator check that referenced columns exist. When omitted and pipelineId + stepOrder are provided, the manifest is derived automatically.Pipeline ID. Used together with
stepOrder to automatically derive the upstream output manifest.0-based step order of the chart-data step. Used together with
pipelineId.When
true, treats configuration as a raw Grapher config object rather than a chart-data step configuration.valid (boolean), issues (array of {severity, code, message, path}), and context with the resolved output manifest.
Example prompt
“Validate this chart config before I save it to the pipeline.”
get_chart_details
Fetches a chart’s metadata and its full Grapher configuration from a chart URL or slug. Also returns pipeline ownership when the chart is backed by a pipeline step, so you can navigate directly to the editor.
Full Alphacast chart URL (e.g.
https://www.alphacast.io/p/account/charts/chart-slug-12345) or just the chart slug.chartId, slug, title, chartUrl, the full grapher config object, and an optional pipeline block with pipelineId, stepId, and editUrl.
Example prompt
“Show me the Grapher config of the chart at https://www.alphacast.io/charts/12345 — I want to replicate its style.”Underlying endpoint:
GET /charts/{id}/config.