GA4 dimensions and metrics
ga4_metadataThe dimensions and metrics a GA4 property can report, for ga4_report.
Lists GA4's standard fields plus the property's own custom dimensions
and metrics (API names like customEvent:plan or customUser:tier), with
each one's category, description and, for metrics, its type
(TYPE_INTEGER, TYPE_CURRENCY, TYPE_SECONDS...). The full list is
about 500 entries and 130 KB; pass search or custom_only unless
you need all of it.
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_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | optional text to match in the API name, UI name or category, case-insensitive, e.g. "item", "source", "revenue" | |
| custom_only | No | only the property's custom definitions | |
| property_id | Yes | GA4 property id (numeric or "properties/XYZ") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||