resource_analysis
Analyzes a webpage's resource usage: total transfer size, requests count, type breakdown, top 10 largest resources, and render-blocking resources. Identifies what makes the page heavy.
Instructions
Full resource breakdown of a page: total transfer size, breakdown by type (JS, CSS, images, fonts), number of requests, top 10 largest resources, and render-blocking resources. Helps identify what is making your page heavy.
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": "resource_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to analyze resources (e.g., http://localhost:3000) |