Core Web Vitals trend (last 40 weeks)
cwv_trendShow how a site's real-user Core Web Vitals (LCP, INP, CLS, FCP, TTFB) changed over the last ~40 weeks, from the Chrome UX Report History API. Use for 'are we getting faster?', before/after a redesign or migration, or comparing then vs now. Pass a homepage for the whole site (origin) or a deeper URL for that page; falls back to the origin when the page has too little traffic. Uses the Chrome UX Report History API (https://developer.chrome.com/docs/crux/history-api).
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": "cwv_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL or domain, e.g. example.com or https://example.com/pricing/ | |
| device | No | phone |