Skip to main content
Glama

generate_types

Generate TypeScript type definitions (.d.ts) for custom elements, using HTML attribute names to reflect the component API accurately.

Instructions

Generates TypeScript type definitions (.d.ts content) for all custom elements in the CEM. Attribute interface property names are sourced from the CEM attribute field (the HTML attribute name), not the JavaScript property name, ensuring the output accurately reflects the component API. Returns a string ready to save as helix.d.ts or similar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryIdNoOptional library ID to target a specific loaded library instead of the default.

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bookedsolidtech/helixir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server