get_metric
Fetch marketing metrics by name, filter by date range, and group by dimensions for performance analysis.
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": {
"metric_name": "<metric_name>"
},
"name": "get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date in YYYY-MM-DD format | |
| dimensions | No | Dimensions to group by | |
| start_date | No | Start date in YYYY-MM-DD format | |
| metric_name | Yes | Name of the metric to retrieve |