reporting_query_metric_set
Queries Android vitals metric sets from the Play Developer Reporting API to retrieve crash rates, ANR rates, error counts, and performance data for a given app package.
Instructions
Query an Android vitals metric set from the OPTIONAL Play Developer Reporting API (crash rate, ANR rate, error counts, slow start/rendering, wakeups, wakelocks, LMK). query is the request body: { timelineSpec: { aggregationPeriod: 'DAILY', startTime: { year, month, day, timeZone: { id: 'America/Los_Angeles' } }, endTime: {...} }, metrics: ['crashRate', 'distinctUsers'], dimensions: ['versionCode'], filter?, pageSize? }. Use reporting_get_metric_set first to see the freshness window. Read-only.
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": {
"packageName": "<packageName>",
"metricSet": "<metricSet>",
"query": "<query>"
},
"name": "reporting_query_metric_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query body (timelineSpec, metrics, dimensions, filter, pageSize, pageToken) | |
| metricSet | Yes | ||
| packageName | Yes | Application id (package name), e.g. com.example.app |