list_favicons
Retrieve favicons for subscribed RSS feeds using the Fever API to visually identify feed sources in your FreshRSS instance.
Instructions
List favicons for subscribed feeds (Fever API)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/fever-handlers.ts:16-32 (registration)Tool registration and handler implementation for list_favicons in fever-handlers.ts.
server.registerTool( 'list_favicons', { description: 'List favicons for subscribed feeds (Fever API)', inputSchema: listFaviconsSchema, }, wrapTool('list_favicons', async () => { const favicons = await client.fever.listFavicons(); if (favicons.length === 0) { return textResult('No favicons found.'); } const text = favicons .map((f) => `- Feed ${f.feedId.toString()}: favicon available`) .join('\n'); return textResult(text); }) ); - src/tools/fever-tools.ts:3-3 (schema)Schema definition for the list_favicons tool.
export const listFaviconsSchema = z.object({}).strict(); - src/api/fever-service.ts:22-24 (helper)The underlying API call that fetches the favicon data.
async listFavicons(): Promise<Favicon[]> { const data = await this.http.postFever<FeverFaviconsResponse>({ favicons: '1' });