audit_url
Measure a live page's frame rate, long tasks, and layout thrashing, then scan HTML/CSS/JS for animation anti-patterns to return severity-sorted findings and ranked fixes.
Instructions
Audit any live page as evidence, not a grade: runtime frame/long-task/layout-thrash measurement via an installed Chrome/Edge over raw CDP (no playwright), plus static animation anti-patterns scanned over the page HTML and up to 8 same-origin CSS/JS assets (bounded: 8 assets, 2MB each, 1 request/second shared limiter, default 10s timeouts). Asset refs resolve against the final post-redirect page URL; asset redirects leaving that origin are rejected. Findings are severity-sorted before the 50-item cap, so worst is always present. nextActions ranks the first three fixes. compact=true returns the url, a reduced perf block (fps, droppedFrames, longTasks, layoutThrashing), pre-cap antiPatterns counts (count, worst, high, medium, info), coverage, nextActions and note; omit it for the full findings and full perf. Degrades honestly - perf carries {error} when no browser is available and the static scan reports its own error; neither suppresses the other. Personal, non-commercial use; audit only URLs you are authorised to inspect.
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": {
"url": "<url>"
},
"name": "audit_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the page to audit | |
| compact | No | compact=true returns the url, reduced perf, pre-cap antiPatterns counts, coverage, nextActions and note; omit for full findings and full perf | |
| viewport | No | Runtime measurement geometry: desktop = 1280x800 (aegon baseline); mobile = 390x844 | desktop |
| timeoutMs | No | Per static request timeout in ms (page HTML + each asset) |