list_all_components
Retrieve all available PrimeNG UI components with brief descriptions to help developers identify and select appropriate components for Angular applications.
Instructions
Lista todos los componentes disponibles en PrimeNG con una breve descripción
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/ListComponentsTool.ts:9-17 (handler)The ListComponentsTool class implements the core handler logic for the 'list_all_components' tool. It extends BaseTool with the tool name and provides the execute method that formats COMPONENT_CATEGORIES into a response.export class ListComponentsTool extends BaseTool { constructor() { super('list_all_components'); } async execute(_args: Record<string, any>): Promise<ToolResponse> { return this.createResponse(formatComponentList(COMPONENT_CATEGORIES)); } }
- src/models/ToolSchemas.ts:51-60 (schema)Defines the Tool schema object for 'list_all_components' including name, description, and empty input schema (no parameters required).export function createListAllComponentsSchema(): Tool { return { name: "list_all_components", description: "Lista todos los componentes disponibles en PrimeNG con una breve descripción", inputSchema: { type: "object", properties: {}, }, }; }
- src/server/PrimeNGServer.ts:140-140 (registration)Instantiates the ListComponentsTool instance during server initialization for handling tool execution.this.listComponentsTool = new ListComponentsTool();
- src/server/PrimeNGServer.ts:211-212 (registration)Registers the dispatch handler in the tool call switch statement, routing calls to listComponentsTool.run().case "list_all_components": return await this.listComponentsTool.run(args);
- src/server/PrimeNGServer.ts:183-183 (registration)Includes the list_all_components schema in the listTools response for tool discovery.createListAllComponentsSchema(),