analyze_performance_budget
Sum asset bytes by kind and compare explicit initial-load and total budgets to check whether page resources exceed performance limits.
Instructions
Sum supplied resource bytes by kind and compare explicit initial-load and total budgets.
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": {
"assets": "<assets>"
},
"name": "analyze_performance_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | ||
| initialPaths | No | ||
| totalBudgetBytes | No | ||
| initialBudgetBytes | No |