Basecoat UI MCP
v1.8.0Offline Basecoat UI MCP: templates, macro layouts, theming contract, and static validation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_components
Find up to 8 compact component summaries by intent and/or query (either field may be omitted). Valid component IDs include: button, card, dialog, dropdown-menu, table, tabs, badge, avatar, input, select, etc. Next step: Call get_component_details or basecoat_component_syntax with the selected component id.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative component identifier alias. |
environment | string | Target environment (defaults to html). |
id | string | Alternative component identifier alias. |
intent | string | Semantic intent or use case (e.g., "modal dialog", "user menu", "data table", "form field"). |
name | string | Alternative component identifier alias. |
query | string | Direct component ID or name keyword to filter (e.g., "dialog", "button", "table"). |
get_component_details
Get one minimal component template, dependencies, and composition tips for Astro or HTML. Valid IDs: any of the 57 Basecoat components (button, card, dialog, dropdown-menu, table, tabs, badge, etc.). When called with {}, returns the top-level component catalog index. Next step: Call validate_composition or basecoat_quality_inspector after integrating markup.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative component identifier alias. |
environment | string | Target framework/environment template to output (defaults to "html"). |
id | string | Basecoat component ID from search_components (e.g., "button", "dialog", "card", "dropdown-menu", "table", "tabs"). |
name | string | Alternative component identifier alias. |
get_component_html
Fetch HTML markup template and dependencies for a Basecoat component. Valid IDs: any of 57 Basecoat components. When called with {}, returns the top-level component catalog index. Next step: Call validate_composition or basecoat_quality_inspector to audit.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative component identifier alias. |
environment | string | Target framework/environment template to output (defaults to "html"). |
id | string | Basecoat component ID from search_components (e.g., "button", "dialog", "card", "dropdown-menu", "table", "tabs"). |
name | string | Alternative component identifier alias. |
validate_composition
[STAGE 4: QUALITY AUDIT] Statically check HTML/Astro source for Basecoat migration errors, semantic rhythm, FSM bindings, missing scripts, nested cards, spacing and hierarchy issues. Pass code or alias html and optionally a semanticProfile and densityProfile. Does not render or evaluate dynamic code. Next step: Fix any errors/warnings reported in the diagnostic output.
| Parameter | Type | Description |
|---|---|---|
code | string | HTML or Astro source code to validate statically against Basecoat rules and tokens. |
densityProfile | string | Optical spacing density profile ("comfortable" or "compact"). |
html | string | Alias for code parameter. Pass either code or html. |
semanticProfile | string | Semantic rhythm profile ID (e.g., "default", "dashboard"). Defaults to "default". |
validate_markup
[STAGE 4: QUALITY AUDIT] Alias of validate_composition. Statically check HTML/Astro source for Basecoat migration errors, semantic rhythm, FSM bindings, missing scripts, nested cards, spacing and hierarchy issues. Next step: Fix any errors/warnings reported in the diagnostic output.
| Parameter | Type | Description |
|---|---|---|
code | string | HTML or Astro source code to validate statically against Basecoat rules and tokens. |
densityProfile | string | Optical spacing density profile ("comfortable" or "compact"). |
html | string | Alias for code parameter. Pass either code or html. |
semanticProfile | string | Semantic rhythm profile ID (e.g., "default", "dashboard"). Defaults to "default". |
search_macro_blocks
Search approved macro layout blocks by query, role, family, or tag. Optional design/page/slot context filters to slot-compatible roles. Returns summaries and immutable refs only; use cursors for more.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative identifier or query alias. |
cursor | string | Pagination cursor returned from a previous search. |
designId | string | Active design session ID to search with session-specific block registry overrides. |
environment | string | Target environment. |
family | string | Block family filter (e.g. "layout", "workspace", "auth", "detail"). |
id | string | Alternative identifier or query alias. |
limit | integer | Maximum number of block manifests to return per page (1-32, default 10). |
name | string | Alternative identifier or query alias. |
pageId | string | Target page ID in the design session when scoping to a slot. |
parentNodeId | string | Parent node ID hosting the target slot. |
q | string | Full-text search query across macro block IDs, descriptions, and tag sets. |
role | string | Macro role filter (e.g. "navigation", "canvas", "header", "region", "form"). |
slotId | string | Target parent slot ID to filter compatible blocks by role. |
tag | string | Specific functional tag to filter by (e.g. "sidebar", "data-table", "kpi"). |
get_macro_block
Retrieve one section of a compiled macro block blueprint (manifest, structure, slots, ports, rules, dependencies, provenance). Follow next cursors until complete. Optional designId pins aliases to that session registry.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative block identifier alias matching idOrRef. |
cursor | string | Pagination cursor for large section reads exceeding packet limits. |
designId | string | Active design session ID to retrieve session-bound block variants. |
environment | string | Target environment (defaults to html). |
id | string | Alternative block identifier alias matching idOrRef. |
idOrRef | string | Canonical macro block ID or SHA-256 content reference hash. |
name | string | Alternative block identifier alias matching idOrRef. |
section | string | Specific block section to retrieve: "all", "manifest", "structure", "slots", "ports", "rules", "dependencies", or "provenance". Defaults to "all". |
begin_design
Create a persistent design session under the host project root. Pass designId, profile (alias or ref), operationId, and optional decisions. Pins and hash-verifies the packaged macro registry. Idempotent for the same operationId. Oversized optional receipt fields may be omitted with truncated:true after commit.
| Parameter | Type | Description |
|---|---|---|
designId * | string | Unique identifier for the new design session (slug format, e.g. "workspace-v1"). |
operationId * | string | Idempotency key for session creation. |
profile * | string | Target rhythm/scaffold profile or recipe alias (e.g. "workspace-dashboard", "executive-dashboard"). |
decisions | object | Initial architectural decisions for the session (e.g. density, stylePack, responsive breakpoints). |
get_design_context
Read a focused design view: sessions (no designId), overview, decisions, graph, rules, focus, or next. Pin revision on first read; continuations must match. Does not create sessions.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative design session ID alias matching designId. |
cursor | string | Pagination cursor for paginated context listings. |
designId | string | Target design session ID (required for all views except "sessions"). |
environment | string | Target environment. |
id | string | Alternative design session ID alias matching designId. |
name | string | Alternative design session ID alias matching designId. |
nodeId | string | Target node ID within the page (for "node" view). |
pageId | string | Target page ID within the design session (for "page" or "node" view). |
revision | integer | Target design session revision to inspect (defaults to latest). |
view | string | Context perspective to retrieve: "sessions", "overview", "decisions", "graph", "rules", "focus", or "next". Defaults to "sessions". |
apply_design_patch
Apply one atomic list of design graph operations with expectedRevision and operationId. Replay with the same operationId returns the original receipt. A committed mutation always acknowledges success; oversized optional fields may be omitted with truncated:true. Does not write application source files.
| Parameter | Type | Description |
|---|---|---|
designId * | string | Identifier of the design session to mutate. |
expectedRevision * | integer | Expected current revision of the session to guarantee optimistic concurrency. |
operationId * | string | Idempotency key for this patch transaction. |
operations * | array | Ordered array of patch operations (add_node, remove_node, move_node, connect, disconnect, set_decision, set_binding). |
validate_design
Validate a design session (or one page) in draft or complete mode. Returns totals plus paginated diagnostics. A plan-ready graph is not proof of rendered correctness.
| Parameter | Type | Description |
|---|---|---|
designId * | string | Identifier of the design session to validate. |
cursor | string | Pagination cursor if validation diagnostics exceed single response limit. |
mode | string | Validation strictness mode: "draft" allows unbound slots; "complete" enforces zero open slots and full port connectivity. |
pageId | string | Optionally scope validation to a single page within the session. |
revision | integer | Specific revision to validate (defaults to latest). |
get_rhythm_rules
Read the effective semantic rhythm profile by family, including project-local overrides under a contained .basecoat/rhythm.json. Semantic IDs and approved implementation utilities are returned separately. Results are content-addressed and cursor-paginated; changed effective revisions invalidate prior cursors.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative identifier alias for profile or family. |
cursor | string | Pagination cursor for bounded continuation of rhythm rules. |
environment | string | Target environment. |
family | string | Semantic rhythm family to filter by (e.g. "spacing", "layout", "typography", "colors", "elevation"). Accepts aliases like "layouts". |
id | string | Alternative identifier alias for profile or family. |
limit | integer | Maximum number of rhythm mappings to return per page (1-32, default 10). |
name | string | Alternative identifier alias for profile or family. |
profile | string | Rhythm profile identifier to query (e.g. "default", "compact", "comfortable"). Defaults to "default". |
get_fsm_recipe
Read finite FSM states, events, guards, actions, or transitions. Recipes are structural metadata, not executable runtime code.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative recipe identifier alias. |
cursor | string | Pagination cursor for bounded continuation of FSM recipe details. |
environment | string | Target environment. |
id | string | Alternative recipe identifier alias. |
limit | integer | Maximum number of FSM entries to return per page (1-32, default 10). |
name | string | Alternative recipe identifier alias. |
recipe | string | FSM recipe identifier or alias to retrieve (e.g. "dialog", "tabs", "navigation", "collapsible-navigation", "sidebar"). |
section | string | Specific FSM recipe contract section to inspect ("states", "events", "guards", "actions", "transitions"). |
basecoat_setup_config
[STAGE 1: ARCHITECT] Generate production Tailwind CSS v4 @import statements, OKLCH design tokens, @theme inline blocks, and theme bootstrap scripts for a selected framework (astro, vanilla, nextjs, sveltekit, vite, htmx) and style pack (vega, nova, maia, lyra, mira, luma, sera, rhea). Next step: Call basecoat_compose_stack or basecoat_page_architect.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Framework or style pack identifier alias. |
environment | string | Target environment alias (html, astro, react, vue, svelte). |
framework | string | Target framework or environment for setup instructions and boilerplate (astro, vanilla, nextjs, sveltekit, vite, htmx). Defaults to astro. |
id | string | Framework or style pack identifier alias. |
includeDarkThemeScript | boolean | Whether to include the synchronous inline <head> dark mode bootstrap script to prevent theme flashing. Defaults to true. |
name | string | Framework or style pack identifier alias. |
stylePack | string | Aesthetic style pack preset (vega: standard shadcn New York v4, nova: modern SaaS, maia: playful organic, lyra: brutalist technical, mira: compact editorial, luma: soft modern, sera: architectural fla… |
basecoat_page_architect
[STAGE 1: ARCHITECT] Search and retrieve complete layout scaffolds (Workspace Dashboard, Auth Split-Screen, Data Table Detail, Workspace Settings, Pricing, etc.) with explicit slot markers, grid structures, and responsive containers. Next step: Call basecoat_rules_enforcer and basecoat_creative_director, then basecoat_compose_stack or basecoat_component_syntax.
| Parameter | Type | Description |
|---|---|---|
block | string | Specific block identifier or pattern to retrieve scaffold for (e.g. "sidebar-01".."sidebar-16", "dashboard-01".."dashboard-07", "login-01"). |
componentId | string | Alternative recipe or block identifier alias. |
density | string | Visual layout density: "comfortable" (standard SaaS spacing, p-6/h-14) or "compact" (dense data tools, p-4/h-12). |
environment | string | Target framework/environment template (defaults to html). |
id | string | Alternative recipe or block identifier alias matching id or recipe. |
intent | string | User or business intent for page scaffolding (e.g. "workspace-dashboard", "executive-dashboard", "sidebar-07", "data-table-detail", "auth-split-flow"). |
name | string | Alternative recipe or block identifier alias. |
recipe | string | Macro recipe identifier to resolve directly (e.g. "workspace-dashboard", "workspace-detail", "workspace-settings", "auth-split-flow"). |
basecoat_rules_enforcer
[STAGE 2: RULES & RHYTHM] Retrieve indexed technical implementation constraints covering strict Tailwind CSS v4 syntax, mandatory FSM data-state contracts, semantic CSS variable tokens, and semantic HTML landmarks. Next step: Call basecoat_creative_director or basecoat_component_syntax.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter rules by technical domain: "tailwind-v4", "fsm-contracts", "tokens", "semantic-html", "dashboard-patterns", or "all". |
code | string | HTML/markup snippet to audit against the indexed technical constraints. |
componentId | string | Component ID alias to filter relevant rules. |
environment | string | Target output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html". |
html | string | Alternative alias for the code parameter to audit against constraints. |
id | string | Rule ID or component ID to inspect. |
name | string | Rule or component name alias. |
query | string | Search query to match against rule IDs, titles, forbidden patterns, or required syntax. |
basecoat_creative_director
[STAGE 2: RULES & RHYTHM] Surface Kanso minimalism and Basecoat design intelligence: typography ladders, optical spacing rhythm, whitespace density, contrast ratios, style packs, and subtle elevation strategies. Next step: Call basecoat_compose_stack or basecoat_component_syntax.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Component ID alias. |
density | string | Interface spatial density profile: "compact" (dense table/data tool, p-4/h-12), "standard" (balanced dashboard, p-6/h-14), or "comfortable" (generous whitespace reading, p-8/h-14). |
environment | string | Target environment (defaults to "html"). |
id | string | Principle ID or component ID alias. |
name | string | Component name or principle name alias. |
stylePack | string | Basecoat curated style pack aesthetic: "vega" (default New York v4), "nova" (SaaS), "maia" (organic pill), "lyra" (high-density brutalist), "mira" (editorial), "luma" (soft), "sera" (architectural), o… |
topic | string | Design topic to inspect: "typography", "whitespace", "hierarchy", "elevation", "style-packs", "content-strategy", "density", or "all". |
visitorJob | string | Visitor mental model and primary task: "operate" (fast scanning SaaS), "persuade" (marketing landing), "read" (prose doc), or "experience" (immersive showcase). |
basecoat_compose_stack
[STAGE 3: SYNTAX & STACKS] Assemble full shell architectures (sidebar-01..16, topbar-shell, inset-shell, split-shell) and hydrate pre-configured component stacks (kpi-4-col-delta, area-revenue-stack, data-table-full-crud, detail-inspector-drawer, field-group-settings) into slots with optical density control. Next step: Call basecoat_quality_inspector to verify markup compliance.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Poka-Yoke alias for shellId. |
density | string | Optical spacing density mode. Defaults to standard. |
environment | string | Target output environment/framework. Defaults to html. |
headerId | string | Optional header stack ID from header-stacks: breadcrumb-command-header, tabs-filter-header, or date-range-export-header. |
id | string | Poka-Yoke alias for shellId. |
name | string | Poka-Yoke alias for shellId. |
shell | string | Poka-Yoke alias for shellId. |
shellId | string | Shell architecture ID from shell-stacks: sidebar-01..sidebar-16, topbar-shell, inset-shell, or split-shell. Defaults to sidebar-01. |
stacks | Ordered list or record of component stack IDs to hydrate into the shell slots (e.g., ["kpi-4-col", "area-chart-overview", "data-table-full-crud", "recent-sales-feed", "detail-drawer"]). Also accepts c… | |
title | string | Optional workspace/page title to inject into the shell header. |
basecoat_component_syntax
[STAGE 3: SYNTAX & STACKS] Retrieve copy-pasteable Basecoat component markup with pre-configured FSM state variants (default, active, loading, disabled, open, closed) and dependencies for any of the 57 Basecoat components. Next step: Call basecoat_quality_inspector to audit assembled markup.
| Parameter | Type | Description |
|---|---|---|
component | string | Component name or alias to retrieve canonical FSM-bound syntax for (e.g. "dialog", "tabs", "button", "input", "select", "metric-card", "data-table", "sidebar-shell", "field", "field-group"). |
componentId | string | Alternative identifier alias for the component. |
environment | string | Target output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html". |
icon | string | Verified Lucide action icon to inject with canonical data-icon="inline-start|inline-end" positioning. |
id | string | Alternative identifier alias for the component (matches component argument). |
name | string | Alternative identifier alias for the component. |
orientation | string | Spatial orientation: "vertical" (standard stacked), "horizontal" (grid 2-column for settings), or "inline" (checkbox/switch/radio). |
state | string | Target interactive state variant to bind to markup: "default", "active", "loading", "disabled", "open", "closed", "invalid", or "open/closed". |
variant | string | Visual variant token (e.g. "outline", "ghost", "secondary", "destructive", "subcard", "horizontal", "inline", "error"). |
basecoat_list_charts
[STAGE 3: SYNTAX & STACKS] List and filter 50+ Basecoat ApexCharts and SVG data visualization blueprints by category (area, bar, line, pie, radar, radial, tooltip) or keyword search/query. Next step: Call basecoat_get_chart_blueprint with the selected chart ID.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter charts by category (area, bar, line, pie, radar, radial, tooltip). |
componentId | string | Alias for chart ID filter. |
id | string | Filter or match by specific chart ID. |
name | string | Filter or match by chart name. |
query | string | Search keyword alias for search. |
search | string | Search keyword for chart variant (e.g., stacked, gradient, sparkline, donut, gauge). |
basecoat_get_chart_blueprint
[STAGE 3: SYNTAX & STACKS] Retrieve complete chart markup, CSS theme tokens (--chart-1..5), layout footprint, client options, and framework mount code (vanilla, astro, react, vue, svelte) with optional theme token overrides for a specific chart blueprint ID or category. Next step: Call basecoat_quality_inspector to audit the assembled page.
| Parameter | Type | Description |
|---|---|---|
chartId | string | Chart blueprint ID from basecoat_list_charts (e.g., area-default, area-stacked, bar-multiple, pie-donut, radar-default, radial-half, tooltip-default). Also accepts category name or keyword alias. |
componentId | string | Alias for chartId/id. |
engine | string | Chart rendering engine (svg or apexcharts). Defaults to svg. |
environment | string | Target environment (html, astro, react, vue, svelte). Defaults to html. |
framework | string | Target framework mount generator (vanilla, astro, react, vue, svelte, html). When html or omitted, resolves to vanilla. |
id | string | Alias for chartId. Defaults to "area-default" if neither chartId nor id is provided. |
name | string | Alias for chartId/name. |
themeTokens | object | Optional CSS theme token overrides (e.g. { "var(--chart-1)": "var(--color-primary)" }). |
basecoat_quality_inspector
[STAGE 4: QUALITY AUDIT] Audit HTML/Astro markup and return a structured quality report with Score (0-100), Syntax Violations, Accessibility/ARIA omissions, and Auto-Fix suggestions. Final quality gate for all generated Basecoat UI code.
| Parameter | Type | Description |
|---|---|---|
code | string | HTML/component markup string to inspect for syntax violations, a11y omissions, and quality metrics. |
componentId | string | Alternative component identifier alias to inspect. |
densityProfile | string | Density profile context: "comfortable" (standard rhythm) or "compact" (dense micro-spacing allowed). |
enforceFsm | boolean | Whether to strictly enforce FSM data-state bindings and field-group hierarchies on interactive controls. |
environment | string | Target environment for inspection (defaults to html). |
html | string | Alternative parameter alias for the code string to inspect. |
id | string | Alternative component identifier alias to inspect. |
markup | string | Alternative parameter alias for the markup snippet to inspect. |
name | string | Alternative component identifier alias to inspect. |
semanticProfile | string | Semantic token rhythm profile to validate against (defaults to "default"). |
setup_config
[STAGE 1: ARCHITECT] Alias of basecoat_setup_config. Generate production Tailwind CSS v4 setup, OKLCH tokens, and theme scripts.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Framework or style pack identifier alias. |
environment | string | Target environment alias (html, astro, react, vue, svelte). |
framework | string | Target framework or environment for setup instructions and boilerplate (astro, vanilla, nextjs, sveltekit, vite, htmx). Defaults to astro. |
id | string | Framework or style pack identifier alias. |
includeDarkThemeScript | boolean | Whether to include the synchronous inline <head> dark mode bootstrap script to prevent theme flashing. Defaults to true. |
name | string | Framework or style pack identifier alias. |
stylePack | string | Aesthetic style pack preset (vega: standard shadcn New York v4, nova: modern SaaS, maia: playful organic, lyra: brutalist technical, mira: compact editorial, luma: soft modern, sera: architectural fla… |
get_page_architect
[STAGE 1: ARCHITECT] Alias of basecoat_page_architect. Search and retrieve complete layout scaffolds with explicit slot markers.
| Parameter | Type | Description |
|---|---|---|
block | string | Specific block identifier or pattern to retrieve scaffold for (e.g. "sidebar-01".."sidebar-16", "dashboard-01".."dashboard-07", "login-01"). |
componentId | string | Alternative recipe or block identifier alias. |
density | string | Visual layout density: "comfortable" (standard SaaS spacing, p-6/h-14) or "compact" (dense data tools, p-4/h-12). |
environment | string | Target framework/environment template (defaults to html). |
id | string | Alternative recipe or block identifier alias matching id or recipe. |
intent | string | User or business intent for page scaffolding (e.g. "workspace-dashboard", "executive-dashboard", "sidebar-07", "data-table-detail", "auth-split-flow"). |
name | string | Alternative recipe or block identifier alias. |
recipe | string | Macro recipe identifier to resolve directly (e.g. "workspace-dashboard", "workspace-detail", "workspace-settings", "auth-split-flow"). |
enforce_rules
[STAGE 2: RULES & RHYTHM] Alias of basecoat_rules_enforcer. Retrieve indexed technical implementation constraints.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter rules by technical domain: "tailwind-v4", "fsm-contracts", "tokens", "semantic-html", "dashboard-patterns", or "all". |
code | string | HTML/markup snippet to audit against the indexed technical constraints. |
componentId | string | Component ID alias to filter relevant rules. |
environment | string | Target output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html". |
html | string | Alternative alias for the code parameter to audit against constraints. |
id | string | Rule ID or component ID to inspect. |
name | string | Rule or component name alias. |
query | string | Search query to match against rule IDs, titles, forbidden patterns, or required syntax. |
get_creative_direction
[STAGE 2: RULES & RHYTHM] Alias of basecoat_creative_director. Surface Kanso minimalism and Basecoat design intelligence.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Component ID alias. |
density | string | Interface spatial density profile: "compact" (dense table/data tool, p-4/h-12), "standard" (balanced dashboard, p-6/h-14), or "comfortable" (generous whitespace reading, p-8/h-14). |
environment | string | Target environment (defaults to "html"). |
id | string | Principle ID or component ID alias. |
name | string | Component name or principle name alias. |
stylePack | string | Basecoat curated style pack aesthetic: "vega" (default New York v4), "nova" (SaaS), "maia" (organic pill), "lyra" (high-density brutalist), "mira" (editorial), "luma" (soft), "sera" (architectural), o… |
topic | string | Design topic to inspect: "typography", "whitespace", "hierarchy", "elevation", "style-packs", "content-strategy", "density", or "all". |
visitorJob | string | Visitor mental model and primary task: "operate" (fast scanning SaaS), "persuade" (marketing landing), "read" (prose doc), or "experience" (immersive showcase). |
compose_stack
[STAGE 3: SYNTAX & STACKS] Alias of basecoat_compose_stack. Assemble shell architectures and hydrate pre-configured component stacks into slots.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Poka-Yoke alias for shellId. |
density | string | Optical spacing density mode. Defaults to standard. |
environment | string | Target output environment/framework. Defaults to html. |
headerId | string | Optional header stack ID from header-stacks: breadcrumb-command-header, tabs-filter-header, or date-range-export-header. |
id | string | Poka-Yoke alias for shellId. |
name | string | Poka-Yoke alias for shellId. |
shell | string | Poka-Yoke alias for shellId. |
shellId | string | Shell architecture ID from shell-stacks: sidebar-01..sidebar-16, topbar-shell, inset-shell, or split-shell. Defaults to sidebar-01. |
stacks | Ordered list or record of component stack IDs to hydrate into the shell slots (e.g., ["kpi-4-col", "area-chart-overview", "data-table-full-crud", "recent-sales-feed", "detail-drawer"]). Also accepts c… | |
title | string | Optional workspace/page title to inject into the shell header. |
get_component_syntax
[STAGE 3: SYNTAX & STACKS] Alias of basecoat_component_syntax. Retrieve copy-pasteable Basecoat component markup with FSM state variants.
| Parameter | Type | Description |
|---|---|---|
component | string | Component name or alias to retrieve canonical FSM-bound syntax for (e.g. "dialog", "tabs", "button", "input", "select", "metric-card", "data-table", "sidebar-shell", "field", "field-group"). |
componentId | string | Alternative identifier alias for the component. |
environment | string | Target output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html". |
icon | string | Verified Lucide action icon to inject with canonical data-icon="inline-start|inline-end" positioning. |
id | string | Alternative identifier alias for the component (matches component argument). |
name | string | Alternative identifier alias for the component. |
orientation | string | Spatial orientation: "vertical" (standard stacked), "horizontal" (grid 2-column for settings), or "inline" (checkbox/switch/radio). |
state | string | Target interactive state variant to bind to markup: "default", "active", "loading", "disabled", "open", "closed", "invalid", or "open/closed". |
variant | string | Visual variant token (e.g. "outline", "ghost", "secondary", "destructive", "subcard", "horizontal", "inline", "error"). |
list_charts
[STAGE 3: SYNTAX & STACKS] Alias of basecoat_list_charts. List and filter 50+ Basecoat ApexCharts and SVG data visualization blueprints.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter charts by category (area, bar, line, pie, radar, radial, tooltip). |
componentId | string | Alias for chart ID filter. |
id | string | Filter or match by specific chart ID. |
name | string | Filter or match by chart name. |
query | string | Search keyword alias for search. |
search | string | Search keyword for chart variant (e.g., stacked, gradient, sparkline, donut, gauge). |
get_chart_blueprint
[STAGE 3: SYNTAX & STACKS] Alias of basecoat_get_chart_blueprint. Retrieve complete chart markup, CSS theme tokens, and client options.
| Parameter | Type | Description |
|---|---|---|
chartId | string | Chart blueprint ID from basecoat_list_charts (e.g., area-default, area-stacked, bar-multiple, pie-donut, radar-default, radial-half, tooltip-default). Also accepts category name or keyword alias. |
componentId | string | Alias for chartId/id. |
engine | string | Chart rendering engine (svg or apexcharts). Defaults to svg. |
environment | string | Target environment (html, astro, react, vue, svelte). Defaults to html. |
framework | string | Target framework mount generator (vanilla, astro, react, vue, svelte, html). When html or omitted, resolves to vanilla. |
id | string | Alias for chartId. Defaults to "area-default" if neither chartId nor id is provided. |
name | string | Alias for chartId/name. |
themeTokens | object | Optional CSS theme token overrides (e.g. { "var(--chart-1)": "var(--color-primary)" }). |
inspect_quality
[STAGE 4: QUALITY AUDIT] Alias of basecoat_quality_inspector. Audit HTML/Astro markup and return a structured quality report.
| Parameter | Type | Description |
|---|---|---|
code | string | HTML/component markup string to inspect for syntax violations, a11y omissions, and quality metrics. |
componentId | string | Alternative component identifier alias to inspect. |
densityProfile | string | Density profile context: "comfortable" (standard rhythm) or "compact" (dense micro-spacing allowed). |
enforceFsm | boolean | Whether to strictly enforce FSM data-state bindings and field-group hierarchies on interactive controls. |
environment | string | Target environment for inspection (defaults to html). |
html | string | Alternative parameter alias for the code string to inspect. |
id | string | Alternative component identifier alias to inspect. |
markup | string | Alternative parameter alias for the markup snippet to inspect. |
name | string | Alternative component identifier alias to inspect. |
semanticProfile | string | Semantic token rhythm profile to validate against (defaults to "default"). |
get_design_rules
Retrieve technical implementation constraints covering Tailwind CSS v4 syntax, mandatory FSM data-state contracts, semantic CSS variables, and HTML landmarks. When called with {}, returns the top-level catalog index.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter rules by technical domain. |
code | string | Markup snippet to audit. |
componentId | string | Component identifier alias. |
environment | string | Target environment. |
family | string | Semantic rhythm family filter (e.g. "spacing", "layout", "typography"). |
html | string | Alternative markup snippet alias. |
id | string | Identifier or keyword alias. |
name | string | Rule or component name alias. |
profile | string | Rhythm profile filter (e.g. "default", "compact", "comfortable"). |
query | string | Search query matching rule IDs or keywords. |
list_blocks
Alias of search_macro_blocks. Search or list approved macro layout blocks by query, role, family, or tag. When called with {}, returns the top-level macro block catalog index.
| Parameter | Type | Description |
|---|---|---|
componentId | string | Alternative identifier or query alias. |
cursor | string | Pagination cursor returned from a previous search. |
designId | string | Active design session ID to search with session-specific block registry overrides. |
environment | string | Target environment. |
family | string | Block family filter (e.g. "layout", "workspace", "auth", "detail"). |
id | string | Alternative identifier or query alias. |
limit | integer | Maximum number of block manifests to return per page (1-32, default 10). |
name | string | Alternative identifier or query alias. |
pageId | string | Target page ID in the design session when scoping to a slot. |
parentNodeId | string | Parent node ID hosting the target slot. |
q | string | Full-text search query across macro block IDs, descriptions, and tag sets. |
role | string | Macro role filter (e.g. "navigation", "canvas", "header", "region", "form"). |
slotId | string | Target parent slot ID to filter compatible blocks by role. |
tag | string | Specific functional tag to filter by (e.g. "sidebar", "data-table", "kpi"). |