Check a blog's sitemap
get_sitemap_urlsUse this when someone asks what pages their blog's sitemap lists, or which pages are available to link to. Returns the sitemap's URL count and the first 25 URLs with language and last-modified date, read live from the blog's custom domain. Not for the posts stored in Polyblog.
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": {
"blogId": "<blogId>"
},
"name": "get_sitemap_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blogId | Yes | Blog whose sitemap to read | |
| locale | No | Only URLs in this language, a two-letter code such as en | |
| maxUrls | No | How many sitemap URLs to read and count, from 1 to 2,000; defaults to 500, and only the first 25 are listed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample | Yes | The first 25 URLs read; returned counts every URL read | |
| baseUrl | Yes | ||
| returned | Yes | How many sitemap URLs were read, at most maxUrls | |
| totalUrls | Yes | ||
| rootSitemap | Yes | ||
| childSitemaps | Yes | ||
| sampleTruncated | Yes |