Download Results
download_resultsExport Suparse document IDs to JSON, CSV, XLSX, or Google Sheets locally; optionally unpack ZIP files and return output paths.
Instructions
Export existing Suparse document IDs as JSON, CSV, XLSX, or Google Sheets to local disk. Returns output_path plus requested_format, artifact_format and content_type. Existing output files are overwritten: choose a new path unless replacement is intended. CSV/XLSX may return ZIP; its extension is corrected to .zip. Set unpack:true to also extract the separate files into a fresh folder and return output_paths. JSON is saved as parsed task groups. Google Sheets requires an immediate API response and saves metadata as JSON. For a known export_job_id use download_export_job to recover the original artifact. Does not delete remote documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format to save locally. Use this tool for JSON, CSV, XLSX, or Google Sheets; google_sheets requires a working Google integration and saves response metadata and sheet URLs as JSON, not a spreadsheet binary. | |
| unpack | No | For CSV/XLSX only: extract a returned ZIP into a new folder next to the saved archive and return output_paths. Keeps the ZIP. A single workbook or CSV is returned directly. Defaults false. | |
| api_url | No | ||
| export_type | No | Export mode for CSV, XLSX, and Google Sheets. Defaults to unified. Accepted for JSON, which currently has the same task-group shape for either value. | |
| output_path | No | Optional local file path or existing directory on the server's machine. Existing files are overwritten. Prefer an absolute path; ~ is not expanded. Omit to use the server's working directory with an API-provided or generated filename; check the returned output_path for the actual artifact, which may be ZIP. | |
| xlsx_layout | No | XLSX layout. Applies only to xlsx exports and defaults to standard. | |
| document_ids | Yes | Suparse document IDs to export. | |
| idempotency_key | No | Optional UUID idempotency key. Retain this key and replay the identical document IDs, format, export type, and layout if submission confirmation is lost. | |
| wait_timeout_ms | No | Maximum time in milliseconds to wait for an accepted export job to complete; defaults to 60000. This bounds completion waiting, including polling retries, not submission or transfer. Allow enough total time in the MCP client for all phases. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| export_type | Yes | ||
| output_path | Yes | ||
| xlsx_layout | No | ||
| content_type | Yes | ||
| document_ids | Yes | ||
| output_paths | No | ||
| export_job_id | No | ||
| artifact_format | Yes | ||
| idempotency_key | No | ||
| requested_format | Yes | ||
| google_sheets_metadata | No |