GA4 dimensions & metrics metadata
ga_get_metadataLists the dimensions and metrics available for a GA4 property, including custom fields, metric types, and deprecated API names. Use the search filter to narrow results and keep output small.
Instructions
List the dimensions and metrics available for a GA4 property (including custom ones), with each metric's type (TYPE_SECONDS, TYPE_CURRENCY, TYPE_STANDARD…) and any deprecated API names. Filter by a search string to keep the output small.
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": {
"propertyId": "<propertyId>"
},
"name": "ga_get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all | |
| search | No | Case-insensitive substring matched against API name, UI name and category, e.g. 'page', 'conversion'. | |
| propertyId | Yes | GA4 property ID, e.g. '123456789' (see ga_list_properties). |