Skip to main content
Glama

unsubscribe_feed

Remove an RSS feed from your Tiny Tiny RSS subscriptions by specifying the feed ID to stop receiving updates.

Instructions

取消订阅指定的 RSS 源

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feed_idYes要取消订阅的源 ID

Implementation Reference

  • The tool handler for "unsubscribe_feed" which calls the client's unsubscribeFeed method.
    async ({ feed_id }) => {
      try {
        await client.unsubscribeFeed(feed_id);
        return { content: [{ type: "text" as const, text: "取消订阅成功" }] };
      } catch (e: unknown) {
        return {
          content: [{ type: "text" as const, text: `取消订阅失败: ${(e as Error).message}` }],
  • The registration of the "unsubscribe_feed" tool with its input schema.
    server.tool(
      "unsubscribe_feed",
      "取消订阅指定的 RSS 源",
      {
        feed_id: z.number().describe("要取消订阅的源 ID"),
      },
  • The actual client implementation that performs the API request to unsubscribe from a feed.
    async unsubscribeFeed(feedId: number): Promise<{ status: string }> {
      return this.request("unsubscribeFeed", { feed_id: feedId });
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aooiuu/ttrss-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server