list_unread_article_ids
Retrieve IDs of unread articles from FreshRSS to manage reading backlog and prioritize content consumption.
Instructions
List unread article IDs (Fever API)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/fever-handlers.ts:65-68 (handler)The handler function for 'list_unread_article_ids' which calls the Fever client to list unread IDs and returns the result as text.
wrapTool('list_unread_article_ids', async () => { const ids = await client.fever.listUnreadIds(); return textResult(ids.length === 0 ? 'No unread IDs.' : ids.join(',')); }) - src/handlers/fever-handlers.ts:59-69 (registration)Registration of the 'list_unread_article_ids' tool in the MCP server.
server.registerTool( 'list_unread_article_ids', { description: 'List unread article IDs (Fever API)', inputSchema: listIdsSchema, }, wrapTool('list_unread_article_ids', async () => { const ids = await client.fever.listUnreadIds(); return textResult(ids.length === 0 ? 'No unread IDs.' : ids.join(',')); }) );