get_crux_history
Retrieve 28-day historical field metric trends from the Chrome UX Report API for LCP, INP, CLS, FCP, and TTFB, filtered by URL or origin and optional device type.
Instructions
Query Google Chrome UX Report History API for 28-day historical field metric trends.
Provides timeseries percentiles for LCP, INP, CLS, FCP, and TTFB across 25+ weekly collection periods.
Args: url_or_origin: Web page URL or origin domain (e.g. 'https://surendranb.com'). form_factor: Optional device filter ('ALL_FORM_FACTORS', 'PHONE', 'DESKTOP', 'TABLET'). api_key: Optional Google API Key. If omitted, checks GOOGLE_API_KEY or CRUX_API_KEY environment variables.
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_crux_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| form_factor | No | ||
| url_or_origin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |