Skip to main content
Glama

catchup_feed

Mark articles as read in Tiny Tiny RSS feeds or categories to manage unread content. Specify time ranges like all, 1 day, 1 week, or 2 weeks for targeted cleanup.

Instructions

将订阅源或分类中的所有文章标记为已读。mode 可选: all (全部), 1day, 1week, 2week

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feed_idYes源或分类 ID
is_catNofeed_id 是否为分类 ID
modeNo标记范围all

Implementation Reference

  • The handler function for the 'catchup_feed' tool, which calls the client's catchupFeed method.
    async (params) => {
      try {
        await client.catchupFeed(params);
        return ok("标记已读成功");
      } catch (e: unknown) {
        return fail(`标记已读失败: ${(e as Error).message}`);
      }
    },
  • Input schema for the 'catchup_feed' tool.
    {
      feed_id: z.number().describe("源或分类 ID"),
      is_cat: z.boolean().default(false).describe("feed_id 是否为分类 ID"),
      mode: z.enum(["all", "1day", "1week", "2week"]).default("all").describe("标记范围"),
    },
  • Tool registration for 'catchup_feed' in src/tools/articles.ts.
    server.tool(
      "catchup_feed",
      "将订阅源或分类中的所有文章标记为已读。mode 可选: all (全部), 1day, 1week, 2week",
      {
        feed_id: z.number().describe("源或分类 ID"),
        is_cat: z.boolean().default(false).describe("feed_id 是否为分类 ID"),
        mode: z.enum(["all", "1day", "1week", "2week"]).default("all").describe("标记范围"),
      },
      async (params) => {
        try {
          await client.catchupFeed(params);
          return ok("标记已读成功");
        } catch (e: unknown) {
          return fail(`标记已读失败: ${(e as Error).message}`);
        }
      },
    );

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