peacock_sitemap_urls
List URLs from a specified Peacock sitemap with path type, slugs, season, lastmod, priority, and exact totals and per-kind counts; paginate locally up to 1,000 URLs.
Instructions
List the URLs of one Peacock sitemap. Returns one page of the URLs one Peacock (peacocktv.com) sitemap lists, in the sitemap's own order: each URL with its path, a page kind derived from the path (series, season, episode, movie, event, channel or page), the catalogue slug and series slug to pass to peacock-title and peacock-season, the season number, lastmod, changefreq, priority and localized alternates, plus the sitemap's exact URL total and its count per kind. Take the sitemap name from peacock-sitemaps (content_page_entertainment_us-0, content_page_movies_us-0, event_page_live-and-upcoming_us-0, channels_us-0, whats_on-0, published-0, help, ...); an unknown name is a 404. A shard holds up to 10,000 URLs and is read whole, so the page window (1-1000 URLs, default 1000) is applied locally and the total is exact. One upstream read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sitemap": "<sitemap>"
},
"name": "peacock_sitemap_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page of the sitemap's URL list | |
| sitemap | Yes | Sitemap name exactly as peacock-sitemaps returns it | |
| per_page | No | URLs per page, 1-1000 (default 1000) |