preview_feed
Use this before connect_feed when the user gives a website or blog URL rather than a feed URL, or to confirm what a feed contains before subscribing. Resolves the URL, discovering the site's feed when given a plain page URL, and reports what would be subscribed to. Returns kind "feed" with the resolved feedUrl and a sample of its newest entries when there is one answer, or kind "candidates" when the site exposes several feeds — in that case show the user the candidates and ask which to use, then pass that feedUrl to connect_feed. Nothing is saved and no credits are spent. Org-scoped: needs no accountId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A website URL or a feed URL. Must use http or https. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "feed" when one feed was resolved (feedUrl, hostname, title, totalPages, sectionCount, sections and sampleEntries are present); "candidates" when the site exposes several (feeds is present — pick one) | |
| feeds | No | Only when kind is "candidates": the feeds the site exposes | |
| title | No | The feed's own title, when it declares one | |
| feedUrl | No | The resolved feed URL to pass to connect_feed | |
| hostname | No | The feed's site | |
| sections | No | The first 25 sections, each with how many entries it holds | |
| totalPages | No | How many entries the feed currently lists | |
| sectionCount | No | How many URL-path sections the entries fall into | |
| sampleEntries | No | Up to 10 of the newest entries |