@tpmjs/tools-rss-read
Parse RSS or Atom feeds from a URL and extract feed metadata (title, link, description) and feed items (title, link, description, pubDate, author). Useful for reading blog feeds, news feeds, podcasts, and other syndicated content.
Test @tpmjs/tools-rss-read (rssReadTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-rss-readpnpm add @tpmjs/tools-rss-readyarn add @tpmjs/tools-rss-readbun add @tpmjs/tools-rss-readdeno add npm:@tpmjs/tools-rss-readimport { rssReadTool } from '@tpmjs/tools-rss-read';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { rssReadTool } from '@tpmjs/tools-rss-read';
const result = await generateText({
model: openai('gpt-4o'),
tools: { rssReadTool },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
urlstringThe RSS or Atom feed URL to parse (must be http or https)
limitnumberMaximum number of items to return (default: 20, max: 100)
Schema extracted: 1/1/2026, 8:17:45 AM
Parse RSS/Atom feeds and extract feed metadata and items.
npm install @tpmjs/tools-rss-read
import { rssReadTool } from '@tpmjs/tools-rss-read'; import { generateText } from 'ai'; const result = await generateText({ model: yourModel, tools: { rssReadTool }, prompt: 'Get the latest articles from https://example.com/feed.xml', });
url (string, required): The RSS or Atom feed URL to parselimit (number, optional): Maximum number of items to return (default: 20, max: 100){ feed: { title: string; link: string; description?: string; language?: string; lastBuildDate?: string; imageUrl?: string; }; items: Array<{ title: string; link: string; description?: string; pubDate?: string; author?: string; categories?: string[]; guid?: string; }>; itemCount: number; metadata: { fetchedAt: string; feedType: string; totalItems: number; limitApplied: boolean; }; }
MIT
Downloads/month
42
Quality Score