get_hardware_eol
Retrieve hardware end-of-life information for a specific customer to identify equipment reaching end-of-life status.
Instructions
Get hardware end-of-life information for a specific customer. Shows which hardware is reaching end-of-life.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID |
Implementation Reference
- src/index.ts:347-361 (handler)Handler for get_hardware_eol: validates customerId, calls API endpoint /product-alerts/hardware-eol, returns JSON data.case "get_hardware_eol": { const customerId = args?.customerId as string; if (!customerId) { throw new Error("customerId is required"); } const data = await makeApiCall("/product-alerts/hardware-eol", customerId); return { content: [ { type: "text", text: JSON.stringify(data, null, 2), }, ], }; }
- src/index.ts:178-190 (registration)Tool registration in the tools list used by ListToolsRequestHandler, including name, description, and input schema.{ name: "get_hardware_eol", description: "Get hardware end-of-life information for a specific customer. Shows which hardware is reaching end-of-life.", inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"], },
- src/index.ts:181-189 (schema)Input schema definition requiring 'customerId' string for the get_hardware_eol tool.inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"],