add_news_source
Add an RSS or Atom news feed to the investment crawler's source list. Validates the URL as a real feed before saving. Idempotent and capped.
Instructions
Add an RSS/Atom feed to the crawler's source list. The URL is live-probed before saving — a URL that doesn't parse as a feed is rejected. Idempotent: re-adding an existing URL returns the existing entry. Capped so the list can't grow unbounded.
Use when someone says "follow 's news" / "加个新闻源".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | RSS/Atom feed URL (a real feed, not a webpage). | |
| name | Yes | Short slug for the feed, [a-z0-9_] (e.g. 'wsj_markets'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |