ga4 get custom definitions
ga4_get_custom_definitionsList custom dimensions and custom metrics from GA4 metadata to inventory available definitions. Use as a read-only fallback for checking what custom definitions a property exposes.
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. |