Check links
check_linksCheck a list of URLs to find working, broken, and redirected links, showing final destinations and HTTP status codes. Use it to clean up docs, READMEs, sitemaps, or bookmarks.
Instructions
Check web links and follow their redirects.
Use this when you have a list of URLs and need to know which ones work, which are broken (404, 500, timeouts, bad hosts) and where redirects end up, for example to clean up docs, a README, a sitemap list or bookmarks. It does not crawl a site or read page content; pass the exact links you want checked. Links that are not http or https come back with ok false and an error.
urls: up to 200 http(s) links. timeout: seconds to wait for each link.
Returns one result per link: {url, status, ok, final_url, redirects, error}. status is the HTTP code of the last hop (null if it could not connect). ok is true for 200-399. redirects lists each hop as "CODE url".
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": {
"urls": "<urls>"
},
"name": "check_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |