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)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_unread_article_ids"
}
}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(',')); }) );