Web vitals
web_vitalsUse when you need Core Web Vitals (POST /vitals). Returns p75 and ratings. p75 is the headline. Pro read: 403 PRO_REQUIRED is not metered, and a success is one metered read. The event is page_view, collected with data-track-vitals="true". Thresholds: https://web.dev/articles/vitals. LCP 2500 ms / 4000 ms, INP 200 ms / 500 ms, CLS 0.1 / 0.25, FCP 1800 ms / 3000 ms, TTFB 800 ms. cwv_pass needs good LCP, INP, and CLS p75.
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": {
"project": "<project>"
},
"name": "web_vitals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback in days. Omit when date_from and date_to are set | |
| limit | No | Maximum rows. Defaults to 10 and maxes at 20 | |
| date_to | No | Inclusive end date (YYYY-MM-DD). Optional | |
| project | Yes | Project name or ID | |
| group_by | No | Split by device or path. Omit for one row. | |
| date_from | No | Inclusive start date (YYYY-MM-DD). Optional |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| type | No |