download_analytics_report_segment
Download analytics report segment data from App Store Connect to analyze app performance metrics and user behavior patterns.
Instructions
Download data from an analytics report segment URL
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": {
"segmentUrl": "<segmentUrl>"
},
"name": "download_analytics_report_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segmentUrl | Yes | The URL of the analytics report segment to download |
Implementation Reference
- src/handlers/analytics.ts:83-91 (handler)The core handler function that downloads the analytics report segment from the given URL using the AppStoreConnectClient's downloadFromUrl method.
async downloadAnalyticsReportSegment(args: { segmentUrl: string; }): Promise<{ data: any; contentType: string; size: string }> { const { segmentUrl } = args; validateRequired(args, ['segmentUrl']); return this.client.downloadFromUrl(segmentUrl); }