search_schema
Find exact GA4 dimension and metric field names by searching with a keyword. Returns up to 10 ranked matches to map concepts to API fields.
Instructions
Search for a keyword across all dimensions and metrics for this property. Returns a ranked list of up to 10 matching fields scored by relevance.
Returns: {"top_results": {"DIMENSION: api_name": score, "METRIC: api_name": score, ...}}
Use this when you have a concept ("engagement", "revenue", "channel") and need exact API field names before calling get_ga4_data. Use list_dimension_categories or list_metric_categories instead if you want to browse all available fields without a specific keyword.
Args: keyword: One or more keywords to search for (e.g., "user", "campaign revenue").
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": {
"keyword": "<keyword>"
},
"name": "search_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes |