GA4 audience breakdown
ga4_user_demographicsAudience breakdown over the last N days, or start_date to end_date (YYYY-MM-DD; explicit dates win over days).
Returns three slices:
by_country: top countries by activeUsers
by_device: deviceCategory (desktop/mobile/tablet) split
by_browser: top browsers
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_id": "<property_id>"
},
"name": "ga4_user_demographics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| intent | No | Optional: the user's goal in a few words. No site names or URLs. | |
| end_date | No | ||
| start_date | No | ||
| property_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||