get_core_web_vitals
Fetch Core Web Vitals (LCP, INP, CLS) from Chrome UX Report for a URL or origin to assess real-user page performance.
Instructions
Get Core Web Vitals (LCP, INP, CLS) from the Chrome UX Report (CrUX) API.
Free API, no OAuth needed — just a CRUX_API_KEY env variable.
Args:
url_or_origin: Full URL or origin (e.g. "https://example.com" for origin-level)
form_factor: PHONE, DESKTOP, or TABLET (default: PHONE)
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_or_origin": "<url_or_origin>"
},
"name": "get_core_web_vitals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_factor | No | PHONE | |
| url_or_origin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |