Class RssFeedTool
A built-in tool for fetching and parsing RSS and Atom feeds.
Supports fetching feeds from URLs, parsing raw XML content, and filtering entries by keyword or date.
public sealed class RssFeedTool : ITool, IDisposable
- Inheritance
-
RssFeedTool
- Implements
- Inherited Members
Examples
var rss = BuiltInTools.RssFeed;
var rss = BuiltInTools.CreateRssFeed(new RssFeedToolOptions { MaxEntries = 50 });
Constructors
- RssFeedTool()
Initializes a new instance with default options.
- RssFeedTool(RssFeedToolOptions)
Initializes a new instance with the specified options.
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.