get_field_notices
Retrieve important product notifications and bulletins for a specific customer to stay informed about critical updates and advisories.
Instructions
Get field notices for a specific customer. Returns important product notifications and bulletins.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID |
Implementation Reference
- src/index.ts:331-345 (handler)Handler for the get_field_notices tool: validates customerId input, calls makeApiCall to the /product-alerts/field-notices endpoint, and returns JSON-formatted response as text content.case "get_field_notices": { const customerId = args?.customerId as string; if (!customerId) { throw new Error("customerId is required"); } const data = await makeApiCall("/product-alerts/field-notices", customerId); return { content: [ { type: "text", text: JSON.stringify(data, null, 2), }, ], }; }
- src/index.ts:164-177 (registration)Registration of the get_field_notices tool in the tools array used for ListTools, including name, description, and input schema requiring customerId.{ name: "get_field_notices", description: "Get field notices for a specific customer. Returns important product notifications and bulletins.", inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"], }, },
- src/index.ts:167-176 (schema)Input schema for get_field_notices tool, defining customerId as required string.inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"], },