veto_bundle_advisor
Analyze webpack stats JSON to identify heaviest assets and duplicate packages, then suggest code-splitting and CDN externalization.
Instructions
Accepts a webpack-format stats JSON (webpack --json) → heaviest assets and modules and duplicated packages (computed), plus code-split and CDN-externalization suggestions.
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": {
"stats_file": "<stats_file>"
},
"name": "veto_bundle_advisor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats_file | Yes | Absolute path to the bundle stats JSON file (webpack stats format). | |
| project_dir | No | Optional absolute path to the project root. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |