inspect_export_file
Inspect a Survey Solutions export zip to list files, classify data types, and preview text metadata or sample rows without parsing binary Stata/SPSS data.
Instructions
Inspect a downloaded Survey Solutions export zip on the MCP host. Lists files, classifies data/comment/action/DDI/preview files, and samples lightweight text/tabular metadata without parsing binary Stata/SPSS data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extract | No | When true, unpack files to output_dir or a sibling *_unpacked folder. | |
| output_dir | No | Destination folder for extraction when extract is true. | |
| export_path | Yes | Absolute or working-directory-relative path to a downloaded Survey Solutions export zip. | |
| sample_rows | No | Number of sample data rows to return for CSV/TAB/TSV files, capped at 25. | |
| max_text_bytes | No | Maximum text-like file size to preview or sample. | |
| include_details | No | When true, include detailed per-file previews, missingness, and distributions. Default false keeps responses small. | |
| include_samples | No | When true, include sample rows in compact tabular summaries. Default false keeps responses small. |