get_specs
Retrieve all saved design specifications for a project to check existing components, confirm spec names, or discover defined elements before creating or generating code.
Instructions
List all specs saved in the current project.
Prerequisites: None — reads from local registry. Engine must have been initialized (happens automatically when MCP server starts).
Returns on success: Array of summary objects, each with shape { name: string, type: "component"|"page"|"dataviz"|"design"|"ia", purpose?: string }. The purpose field is omitted for spec types that don't carry it.
Error behavior: Returns an empty array [] if no specs exist yet — not an error.
Use this tool: before create_spec (to check whether a spec already exists and would be overwritten), before generate_code (to confirm the target spec name), or to discover what components are defined in the project. Use get_spec to fetch the full body of a specific spec.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||