CrUX: current Core Web Vitals
crux_recordGet current p75 Core Web Vitals for any origin or URL. Returns LCP, INP, CLS metrics with good/needs-improvement/poor ratings and an overall pass indicator, filtered by form factor.
Instructions
Current p75 Core Web Vitals for an origin or a single URL.
Pass EITHER origin (e.g. https://www.betterpic.io — covers the whole site) OR url (one page). form_factor is PHONE, DESKTOP, TABLET or ALL. Returns each metric's p75 with a good / needs-improvement / poor assessment, plus an overall core_web_vitals_pass. Set raw=true for the untouched API response.
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": "crux_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| url | No | ||
| origin | No | ||
| form_factor | No | PHONE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |