ga4 get custom definitions
ga4_get_custom_definitionsLists custom dimensions and metrics available in GA4 Data API metadata for a property ID, providing a read-only inventory of custom definitions.
Instructions
List custom dimensions and custom metrics exposed by GA4 Data API metadata. Read-only fallback for custom definition inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | GA4 property ID (numeric, e.g., 123456789) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |