cwv_audit_performance_budget
Audit web page assets against Core Web Vitals budgets, simulate 3G/4G/5G latency, and generate standard Lighthouse budget.json to catch page weight issues.
Instructions
Audit web page assets against Core Web Vitals performance budgets (Scripts, Styles, Fonts, Images), simulate multi-network latency (3G/4G/5G), and generate standard Lighthouse budget.json.
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": {
"html_or_path": "<html_or_path>"
},
"name": "cwv_audit_performance_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_name | No | Identifier or page name for the audit report. | Page Budget Audit |
| html_or_path | Yes | HTML markup content or path to local HTML file to evaluate. | |
| custom_budgets | No | Optional custom budget limits in KB (e.g. {'script': 150, 'total': 450}). |