batch_download_results
Download and parse results from completed Gemini AI batch jobs. Retrieves JSONL files from the API, saves them locally, and returns structured data arrays for analysis.
Instructions
DOWNLOAD BATCH RESULTS - Download and parse results from completed batch job. WORKFLOW: 1) Checks job status (must be SUCCEEDED), 2) Downloads result file from Gemini API, 3) Parses JSONL results, 4) Saves to local file, 5) Returns parsed results array. RETURNS: Array of results with original keys, responses, and metadata. Also saves to file in outputLocation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchName | Yes | Batch job name/ID from batch_create | |
| outputLocation | No | Directory to save results file (defaults to current working directory) |