webpack_add_optimization
Add optimization settings to Webpack config in a project directory to improve build performance and reduce bundle size.
Instructions
Add optimization settings to Webpack config
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": {
"directory": "<directory>"
},
"name": "webpack_add_optimization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |