get_metrics_by_category
Retrieve all metrics in a specific category by providing the exact category name. Returns each metric's API name and description to help you locate available metrics for your GA4 queries.
Instructions
Return all metrics in a specific category with their API names and descriptions.
Returns: {"metric_api_name": "description", ...}
The category name must exactly match a value returned by list_metric_categories. Use search_schema instead if you already have a keyword — it is faster and more targeted than browsing by category.
Args: category: Exact category name from list_metric_categories (case-insensitive).
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": {
"category": "<category>"
},
"name": "get_metrics_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes |