Theme Asset Optimize
theme_asset_optimizeConfigure a Drupal theme's asset optimization settings, including CSS/JS aggregation and optimization, to control how front-end files are bundled and served.
Instructions
Configure theme asset optimization.
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": {
"machine_name": "<machine_name>"
},
"name": "theme_asset_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| aggregate | No | ||
| optimize_js | No | ||
| machine_name | Yes | ||
| optimize_css | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||