ga4_run_report
Run a read-only GA4 report over a date range using named dimensions and metrics, so you can pull analytics data without changing your property.
Instructions
Run a read-only GA4 report for a date range using named dimensions and metrics.
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>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"metrics": "<metrics>"
},
"name": "ga4_run_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| metrics | Yes | ||
| end_date | Yes | YYYY-MM-DD, today, yesterday, or NdaysAgo. | |
| order_bys | No | ||
| dimensions | No | ||
| start_date | Yes | YYYY-MM-DD, today, yesterday, or NdaysAgo. | |
| property_id | Yes | Numeric GA4 property ID or properties/{id}. | |
| currency_code | No | Optional ISO 4217 currency code. | |
| metric_filter | No | Optional GA4 FilterExpression for metrics. | |
| keep_empty_rows | No | ||
| dimension_filter | No | Optional GA4 FilterExpression for dimensions. | |
| return_property_quota | No |