ga4_custom_metrics_list
Lists custom metrics configured on a GA4 property, including parameter name, display name, measurement unit, scope, and restricted-metric type for read-only audits.
Instructions
List custom metrics configured on a GA4 property (parameter name, display name, measurement unit, scope, restricted-metric type). Read-only.
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": "<property>"
},
"name": "ga4_custom_metrics_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxPages | No | Maximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| pageToken | No | Continuation token to resume listing from a previous truncated result. |