report_instances_download_data
Fetch all segments of an analytics report instance and save the data to a TSV file for further analysis.
Instructions
[Analytics/Data] Download analytics report data to a TSV file.
This tool fetches all segments for a report instance and saves the data to a TSV file.
The file can then be analyzed using other tools.
Args:
instance_id: The analytics report instance ID
output_path: Optional path for the output file. If not provided, saves to temp directory
Returns:
Dict containing:
- status: "success", "no_data", or "error"
- file_path: Path to the downloaded TSV file
- file_size_mb: File size in megabytes
- segment_count: Number of segments downloaded
- row_count: Number of data rows (excluding header)
- message: Error message if status is "error" or "no_data"
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": {
"instance_id": "<instance_id>"
},
"name": "report_instances_download_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||