GA4 realtime report
run_ga4_realtime_reportGA4 Data API runRealtimeReport: what is happening on the site in the last 30 minutes (for example activeUsers by country, deviceCategory, unifiedScreenName or minutesAgo), with filters, order by, minute ranges and aggregations.
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": "run_ga4_realtime_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true returns Google's response exactly as Google sent it, unchanged. | |
| site | No | The site's domain (example.com) or its label. Optional when the account has exactly one site switched on. An unknown name returns an error that lists the switched on sites. | |
| limit | No | ||
| metrics | No | Default activeUsers. | |
| order_bys | No | ||
| dimensions | No | ||
| metric_filter | No | ||
| minute_ranges | No | GA4 MinuteRange objects, for example [{ "startMinutesAgo": 29, "endMinutesAgo": 0 }]. | |
| dimension_filter | No | ||
| metric_aggregations | No | GA4 metricAggregations. Default TOTAL. |