reset_unread_notification_count
Clear the unread notification counter in Backlog to maintain accurate tracking of new alerts and updates.
Instructions
Reset unread notification count
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function implementing the core tool logic: asynchronously calls the Backlog client's resetNotificationsMarkAsRead() method to reset the unread notification count.handler: async () => backlog.resetNotificationsMarkAsRead(),
- Defines the input schema for the tool using buildToolSchema. The schema is an empty object, indicating no input parameters are required.const resetUnreadNotificationCountSchema = buildToolSchema((_t) => ({}));
- Specifies the output schema as NotificationCountSchema for validation of the tool's response.outputSchema: NotificationCountSchema,
- src/tools/tools.ts:158-167 (registration)Registers the resetUnreadNotificationCountTool within the 'notifications' toolset group in the allTools function.name: 'notifications', description: 'Tools for managing user notifications.', enabled: false, tools: [ getNotificationsTool(backlog, helper), getNotificationsCountTool(backlog, helper), resetUnreadNotificationCountTool(backlog, helper), markNotificationAsReadTool(backlog, helper), ], },