ga4 get custom definitions
ga4_get_custom_definitionsRetrieve a read-only list of custom dimensions and metrics from GA4 property metadata. Use this tool to inventory your custom definitions without modifying any data.
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. |