ga4_custom_metrics
Fetches custom event parameters registered as metrics for a Google Analytics 4 property, enabling report queries with customEvent:.
Instructions
Numeric event parameters registered as custom metrics, usable in reports as customEvent:. Requires: Google Analytics Admin API (analyticsadmin.googleapis.com) enabled on the quota project; Lector (Viewer) en la propiedad de GA4. If it fails for access, the error explains how to fix it; ga4_check_access checks everything at once.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga4_custom_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | No | Saved property name (see ga4_list_properties). Defaults to the default property. |