Dataset Files
dataset_filesList all files in the latest version of a Harvard Dataverse dataset identified by its DOI persistent ID (e.g. "doi:10.7910/DVN/..."), returning file names, content types, sizes, and download URLs. For files Dataverse has TABULAR-INGESTED (CSV/DTA/SAV/POR under its ingest size limit), also returns exact COLUMN / VARIABLE NAMES and labels from Dataverse's DDI metadata (variables_by_file). If a dataset has no tabular-ingested files (common for very large files, or non-tabular formats), column names are not available from Dataverse at all, the response says so explicitly rather than silently omitting them.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"persistent_id": "doi:10.7910/DVN/DUWBBU"
},
"name": "dataset_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| persistent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Dataset files data | |
| status | No | API response status |