get_spec
Fetches the full JSON of a design spec by name, returning ComponentSpec, PageSpec, or DataVizSpec with detailed fields like atomic level, props, variants, WCAG, sections, chart type, and data shape.
Instructions
Fetch the full body of one spec by name.
Returns: full spec JSON — ComponentSpec: atomicLevel, props, variants, composesSpecs, codeConnect, WCAG fields; PageSpec: sections, meta; DataVizSpec: chartType, dataShape. Errors: isError if the name is not found (list names via get_specs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the spec to retrieve (case-sensitive, matches the spec's 'name' field, not the filename). Use get_specs first to list available names. |