Search Analytics Metadata
search_metadataSearch Google Analytics dimensions and metrics by name or category to locate the exact metadata needed for reports.
Instructions
Search for specific dimensions or metrics by name or category
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"propertyId": "<propertyId>",
"query": "<query>"
},
"name": "search_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | Google Analytics property ID (e.g., 123456789). Required for all queries. | |
| query | Yes | Search term to find dimensions/metrics | |
| type | No | Type of metadata to search | both |
| category | No | Filter by category (e.g., "USER", "SESSION", "PAGE", "EVENT") |