play_get_metric_trends
Query daily averages and trends for Android ANR, slow cold start, or crash rates over a set number of days. Filter by package and version to monitor production stability.
Instructions
[Token-efficient Metrics] Query trends and daily averages for ANR rate, slow cold start rate (Baseline Profile verification), or Crash rate. Redundant Protobuf metadata is stripped.
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_type": "<metric_type>"
},
"name": "play_get_metric_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of past days to query (default: 7). | |
| metric_type | Yes | Metric category: 'ANR' (Application Not Responding), 'STARTUP' (Slow cold start rate for Baseline Profile evaluation), or 'CRASH' (Fatal crash rate). | |
| package_name | No | Android package name. Optional if environment variable is set. | |
| version_code | No | Optional specific Android versionCode filter (e.g. 100200). | |
| credentials_path | No | Optional path to GCP credentials JSON. |