cwv_breakdown
How do Core Web Vitals break down by rank bucket, device, or content category? Groups ONE vital — LCP seconds by default, or the 0–1 Lighthouse performance score, CLS, or INP via the vital parameter — using the SAME governed grouping and weighted rollup as QWA's Growth Trends drill-down, and joins organic clicks per group. Use for "LCP by rank bucket", "performance score by device", "CWV grouped by category". NOT a per-page table (use page_traffic_cwv), not a time series, not causal.
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": {
"date_range": "<date_range>",
"group_by": "<group_by>"
},
"name": "cwv_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Maximum groups to return (rank_bucket/device have few; category can have many). Groups are ordered canonically for rank buckets, by clicks otherwise. | |
| vital | No | Which Core Web Vital to aggregate per group: lcp (default, seconds), performance (0–1 Lighthouse score), cls (unitless), or inp (seconds). | lcp |
| source | No | Where Google search performance data is read from. Use "bigquery" ONLY when the user explicitly asks for BigQuery as the source AND describe_data_sources reports it available from live customer configuration — it returns far more granular per-query data (privacy-suppressed impressions appear under "[anonymized by google]"). | default |
| group_by | Yes | What to group the vital by: rank_bucket (QWA's "Ranking 1 to 3" … "Ranking 40+" bands), device, or category (content category). | |
| date_range | Yes | Explicit date range, e.g. "2026-05-01 to 2026-05-31". Both endpoints are INCLUSIVE — the END day is covered (a 7-day range = 7 days). Quattr weeks run Sunday–Saturday; for "last week" use the most recent complete Sun–Sat span. |