bundle_analyze_size
Analyze JavaScript bundle sizes from package.json dependencies or build output to identify oversized bundles and optimize performance.
Instructions
Analyze JavaScript bundle size from package.json dependencies or build output
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": {
"package_json": "<package_json>"
},
"name": "bundle_analyze_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| build_stats | No | Webpack/Vite/Rollup build stats JSON for detailed analysis | |
| package_json | Yes | package.json content or dependency list to analyze |