Check a sitemap sample for broken links
link_sample_checkFinds broken or redirected pages in a sitemap sample. Use it when the user asks whether pages of an online store or website are broken or redirected, or for a broken link in the sitemap, for example "are any pages of shop.example.com broken?", "check my sitemap for 404s" or "do my product pages redirect?". Pass the domain. Reads the sitemap (for a sitemap index, the product, page, collection and blog sitemaps first) and checks up to 40 addresses spread across it, on that host only, returning counts by status, and for each broken, unreachable or redirected address its status and final address. It is a sample, not every page; it uses HEAD requests at low concurrency, skips addresses that robots.txt disallows for Agent Tools, and makes at most 46 requests. Do not use it for private or local addresses, to read page content, or to monitor a site over time.
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": {
"domain": "<domain>"
},
"name": "link_sample_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Host name of a public store or website, for example shop.example.com. If you only have a page address, pass it: only its host is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Plain-language caveats to pass on with the result. | |
| domain | Yes | Host checked. | |
| issues | No | ||
| notice | Yes | As-of caveat: what the site sent to Agent Tools at that moment, not what every agent sees. | |
| origin | No | Origin the sitemap was read from, after redirects. | |
| robots | No | ||
| source | Yes | Where the data came from: the website itself. | |
| failure | No | Why the site or page was not reached or read, such as a timeout or a robots.txt disallow for Agent Tools. | |
| sitemap | No | ||
| summary | No | Counts for the sample of up to 40 addresses. | |
| statuses | No | Count of sampled addresses for each HTTP status code. | |
| reachable | Yes | False when the site did not answer; failure then says why. | |
| requestsMade | No | Requests made, at most 46. |