unfollow_feed
Stop following an RSS feed by providing its numeric ID to prevent further entries from appearing.
Instructions
[write] Remove a feed from the user's follow list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed_id | Yes | Numeric feed id |
Implementation Reference
- src/tools.ts:49-50 (handler)The handler function for unfollow_feed. It extracts feed_id from input and calls the DELETE /api/v1/follow/:feed_id endpoint to remove the feed from the user's follow list.
handler: ({ feed_id }: any, c) => c.request("DELETE", `/api/v1/follow/${feed_id}`), - src/tools.ts:19-21 (schema)The input schema (FeedIdInput) used by unfollow_feed. It requires a single positive integer field 'feed_id'.
const FeedIdInput = z.object({ feed_id: z.number().int().positive().describe("Numeric feed id"), }); - src/tools.ts:44-51 (registration)The tool registration entry for unfollow_feed in the TOOLS array. Defines name, description, scope, input schema, and handler.
{ name: "unfollow_feed", description: "Remove a feed from the user's follow list.", scope: "write", inputSchema: FeedIdInput, handler: ({ feed_id }: any, c) => c.request("DELETE", `/api/v1/follow/${feed_id}`), },