perf_audit_assets
Scan a repository for oversized raster images and calculate potential bandwidth savings from WebP/AVIF conversion. Target large assets to improve web performance.
Instructions
Scans repository for oversized raster images (>250KB) and calculates bandwidth savings from WebP/AVIF conversion
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "perf_audit_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetDir | No | Directory to scan (defaults to cwd) | |
| thresholdKb | No | File size threshold in KB (default: 250) |