GA4: Realtime
ga4_realtime_reportGenerate real-time Google Analytics 4 reports for the last ~30 minutes to track active users by screen, country, or device.
Instructions
GA4 realtime report (runRealtimeReport, last ~30 min). metrics e.g. ['activeUsers']; dimensions e.g. ['unifiedScreenName','country','deviceCategory'].
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": {
"property": "<property>",
"metrics": "<metrics>"
},
"name": "ga4_realtime_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| metrics | Yes | e.g. ['activeUsers'] | |
| property | Yes | GA4 property ID | |
| dimensions | No | ||
| dimensionFilter | No | GA4 FilterExpression on dimensions, same syntax as for ga4_run_report |