Read statistics
stats_getRead the usage statistics of your app. Day by day over a period (start_date to end_date, the last 30 days when omitted): downloads, launches, unique_launches, page_views, session_times. Over the whole life of the app, without dates: downloads_all_time, page_views_per_weekday, devices, os_versions (needs platform) and mobile_os_distribution. On this app the figures of a period count every platform together and cannot be split by platform, and page_views_per_weekday cannot be limited to a period: say so instead of answering with another figure. Not here: revenue, the most read content, the number of people a push notification reaches. The answer gives the figures with their dates; a refusal names the argument that does not apply.
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": "<metric>"
},
"name": "stats_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | The figure to read. downloads: installations per day. launches: times the app was opened. unique_launches: people who opened it (visitors, active users). page_views: screens viewed. session_times: how long visits last. page_views_per_weekday: page views by day of the week. downloads_all_time: installations since the app exists. devices: installed device models. os_versions: devices per system version of one platform. mobile_os_distribution: iOS and Android shares of the installations. | |
| end_date | No | Last day of the period, as YYYY-MM-DD. Only for the same five figures. | |
| platform | No | Only with os_versions, where it is required: the platform whose system versions to count. Refused with every other figure. | |
| start_date | No | First day of the period, as YYYY-MM-DD. Only for downloads, launches, unique_launches, page_views and session_times. |