quickadd_feed
Add a website or feed URL to FreshRSS; the system automatically detects and subscribes to the actual RSS feed.
Instructions
Quick-add a feed URL; FreshRSS will detect the actual feed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Website or feed URL to quick-add |
Implementation Reference
- src/handlers/feed-handlers.ts:109-112 (handler)The handler implementation for 'quickadd_feed', which uses the client to perform the operation.
wrapTool('quickadd_feed', async (args: z.infer<typeof quickaddSchema>) => { await client.feeds.quickadd(args.url); return textResult(`Quick-added feed from ${args.url}`); }) - src/handlers/feed-handlers.ts:103-113 (registration)The registration of the 'quickadd_feed' tool with the MCP server.
server.registerTool( 'quickadd_feed', { description: 'Quick-add a feed URL; FreshRSS will detect the actual feed.', inputSchema: quickaddSchema, }, wrapTool('quickadd_feed', async (args: z.infer<typeof quickaddSchema>) => { await client.feeds.quickadd(args.url); return textResult(`Quick-added feed from ${args.url}`); }) ); - src/tools/feed-tools.ts:42-46 (schema)Input schema definition for the 'quickadd_feed' tool.
export const quickaddSchema = z .object({ url: z.string().url().describe('Website or feed URL to quick-add'), }) .strict();