Analyze Chrome UX Report real-user Core Web Vitals and trends
performance.crux_fieldV11-FIELD local: offline analyze an already-obtained Google CrUX daily or history JSON record, or make ONE explicitly requested free Google Chrome UX Report API query using an existing local CRUX_API_KEY environment variable.
Instructions
V11-FIELD local: offline analyze an already-obtained Google CrUX daily or history JSON record, or make ONE explicitly requested free Google Chrome UX Report API query using an existing local CRUX_API_KEY environment variable. Reports origin/page, device-class p75 LCP/INP/CLS/FCP/TTFB and bounded historical points. Missing eligible data stays null. No GSC, GA4, visitor tracking, storage, scheduled requests, URL fetch, API-key echo or Google ranking/traffic causation.
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": {
"source_mode": "<source_mode>",
"granularity": "<granularity>",
"target": "<target>"
},
"name": "performance.crux_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Daily 28-day aggregated p75 data or up to 40 overlapping historical 28-day weekly windows. | daily |
| target | Yes | Safe public HTTPS origin or exact page label; query strings, fragments, private hosts and credentials are rejected. Never fetched directly. | |
| form_factor | No | ALL aggregated devices, PHONE, DESKTOP or TABLET. Missing device data is not treated as zero. | ALL |
| granularity | Yes | Origin aggregates eligible Chrome experiences across the whole origin; url requests one exact page. | |
| record_json | No | Only supplied_record: original CrUX API JSON (max 300 KB UTF-8), containing matching record identity, metrics and collection period. Never stored or echoed. | |
| source_mode | Yes | Use caller-provided JSON entirely offline or explicitly authorize one fixed-endpoint Google CrUX API request with local CRUX_API_KEY. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p75 | Yes | ||
| mode | Yes | ||
| error | No | ||
| scope | Yes | ||
| source | Yes | ||
| status | Yes | ||
| findings | Yes | ||
| period_end | Yes | ||
| form_factor | Yes | ||
| granularity | Yes | ||
| limitations | Yes | ||
| history_points | Yes | ||
| total_findings | Yes | ||
| core_web_vitals | Yes | ||
| metric_verdicts | Yes | ||
| coverage_limited | Yes | ||
| first_last_delta | Yes | ||
| periods_returned | Yes | ||
| periods_available | Yes | ||
| findings_truncated | Yes |