ga_list_custom_metrics
Lists all custom metrics for a GA4 property, giving you the exact API names needed to include them in analytics reports.
Instructions
List all custom metrics defined for the configured GA4 property.
Use this to discover custom metric API names for reports.
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": "ga_list_custom_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | No | GA4 property ID to query (overrides the default GA_PROPERTY_ID). Accepts "123456789" or "properties/123456789". Use ga_get_account_summaries to discover IDs. |