Google Analytics realtime
ga_realtimeQuery Google Analytics 4 realtime activity for a property to see active users, page views, and events from the last 30 minutes by screen, country, device, or event.
Instructions
Activity in the last 30 minutes (e.g. dimensions: unifiedScreenName, country, deviceCategory, eventName; metrics: activeUsers, screenPageViews, eventCount).
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>"
},
"name": "ga_realtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| metrics | No | ||
| property | Yes | GA4 property from ga_list_properties, e.g. "properties/123456789" or "123456789" | |
| dimensions | No |