const composeTool = {
  name: "compose_ui",
  description: "Compose Glide UI components from natural language",
  inputSchema: {
    type: "object",
    properties: {
      prompt: {
        type: "string",
        description: "Natural language description of the component to create"
      },
      includeTypes: {
        type: "boolean",
        description: "Include TypeScript interfaces in output",
        default: true
      }
    },
    required: ["prompt"]
  },
  handler: async (args) => {
    const { ComponentComposer } = await import("../../cli/composer.js");
    const composer = new ComponentComposer();
    const result = await composer.compose(args.prompt, { json: true });
    return result;
  }
};
export {
  composeTool
};
