web_carbon
Website Carbon & Page Weight — Estimate a web page's total weight and carbon footprint per page view. Fetches the HTML plus linked scripts, stylesheets, preloads, images and CSS web fonts from a Cloudflare edge, reports decoded and estimated transfer bytes by type (html/css/js/image/font), request count, the 5 largest assets and an A-F weight grade, then applies the Sustainable Web Design v3 model for grams CO2e per view, first-visit grams, kWh per view and yearly kg at 10k monthly views, plus fixes (oversized images, uncompressed text, heavy JS, too many fonts, no lazy-loading). Optional: green=true for renewable-powered hosting, grid= for a custom grid intensity (default 442 global average). Price: $0.005 USDC (Base, via x402).
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": {
"url": "<url>"
},
"name": "web_carbon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https://example.com |