unsubscribe
Remove an RSS feed subscription from your FreshRSS instance by specifying the feed ID to stop receiving updates.
Instructions
Unsubscribe from an RSS feed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | ID of the feed to unsubscribe from |
Implementation Reference
- src/handlers/feed-handlers.ts:55-65 (handler)The 'unsubscribe' tool implementation that registers the tool and defines the handler logic using `wrapTool`.
server.registerTool( 'unsubscribe', { description: 'Unsubscribe from an RSS feed', inputSchema: unsubscribeSchema, }, wrapTool('unsubscribe', async (args: z.infer<typeof unsubscribeSchema>) => { await client.feeds.unsubscribe(args.feedId); return textResult(`Successfully unsubscribed from feed ${args.feedId}`); }) ); - src/tools/feed-tools.ts:17-21 (schema)The schema definition for the 'unsubscribe' tool input.
export const unsubscribeSchema = z .object({ feedId: z.string().describe('ID of the feed to unsubscribe from'), }) .strict();