get_spec
Retrieve the full specification JSON for a component, page, or data visualization by its name, including fields like props, variants, and WCAG data.
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. |