ga4_metadata
Discover standard and custom dimension/metric API names for a GA4 property. Use it before running reports to find exact field names.
Instructions
List the dimension/metric API names available on a property (standard + custom).
Use this before ga4_run_report to find exact API names.
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 case-insensitive filter on API/UI names, e.g. 'revenue'. | |
| property_id | Yes | GA4 property ID, e.g. '123456' or 'properties/123456'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||