get_unread_count
Retrieve the total number of unread articles from your Tiny Tiny RSS feeds to monitor your reading backlog.
Instructions
获取当前未读文章总数
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/articles.ts:94-106 (handler)The handler implementation and registration for 'get_unread_count' tool.
server.tool( "get_unread_count", "获取当前未读文章总数", {}, async () => { try { const count = await client.getUnread(); return ok(`未读文章数: ${count}`); } catch (e: unknown) { return fail(`获取未读数失败: ${(e as Error).message}`); } }, );