scan_page
Scans a webpage or local file path for broken links, validates anchors, and optionally crawls recursively to catch link issues.
Instructions
Scan links in a webpage or local file path using linkinator. Checks for broken links, validates anchors, and can crawl recursively. Supports progress notifications for long-running scans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | URL or local file path to scan | |
| port | No | Server port for local scanning (random port by default) | |
| retry | No | Retry HTTP 429 responses with retry-after header | |
| recurse | No | Follow links recursively on the same domain | |
| timeout | No | Request timeout in milliseconds (0 = no timeout) | |
| checkCss | No | Extract and validate URLs in CSS properties | |
| markdown | No | Parse and scan markdown files | |
| cleanUrls | No | Enable extensionless link resolution (e.g., /about → /about.html) | |
| userAgent | No | Custom user agent header | |
| serverRoot | No | Custom disk location where the server starts | |
| concurrency | No | Number of simultaneous connections (default: 100) | |
| linksToSkip | No | URL patterns to exclude (regex strings) | |
| retryErrors | No | Retry 5xx errors | |
| checkFragments | No | Validate URL anchor identifiers | |
| directoryListing | No | Auto-serve directory index files | |
| retryErrorsCount | No | Retry attempt limit | |
| retryErrorsJitter | No | Random delay between retries in milliseconds | |
| allowInsecureCerts | No | Accept invalid SSL certificates |