get_platform_breakdown
Analyze platform usage by retrieving top platforms or versions with metrics like visit counts and unique users over a specified time period.
Instructions
Get breakdown of top N platforms or platform versions by usage over a time period, can optionally be filtered by account or group. Supports both provider and patient roles. Returns top N items (default 10) plus "Other" category if needed, with metrics per item including visit counts, unique accounts/providers/patients, ratings, and call duration.
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": {
"role": "<role>",
"breakdownType": "<breakdownType>"
},
"name": "get_platform_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role: "provider" for provider platforms/versions, "patient" for patient platforms/versions | |
| breakdownType | Yes | Breakdown type: "platform" for platform breakdown (Web/iOS/Android), "version" for platform version breakdown | |
| topN | No | Number of top items to return (default: 10, max: 100). Recommended: do not set over 10. | |
| startDate | No | Start date. Format: ISO date (YYYY-MM-DD) or date math (now-30d, now-1y). Default: now-30d. | |
| endDate | No | End date. Format: ISO date (YYYY-MM-DD) or date math (now). Default: now. | |
| account | No | Optional account name to filter data to | |
| group | No | Optional group name to filter data to |