Export Dataset as BIDS
bids.export_datasetExport a Nimbus dataset as a BIDS-layout zip (local: saved to
NIMBUS_EXPORT_DIR/bids/; hosted gateway: inline contentBase64, up to 1 MB).
Continuous sources (EDF/BDF uploads, stream recordings) export as BIDS-raw (EDF byte-passthrough; recordings converted HDF5→EDF with events.tsv). Epoched sources (MOABB packs, trial-table uploads) export as BIDS-derivatives (data passthrough + descriptive trial_index/label/session/run events — no fabricated onsets). The zip embeds nimbus_export_manifest.json with sha256s.
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": {
"dataset": "<dataset>"
},
"name": "bids.export_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional explicit source kind: pack|upload|recording (default auto). | |
| dataset | Yes | Dataset id — a MOABB pack id (e.g. "BNCI2014_001"), an upload path (as returned by data.upload), or a recording name. Auto-detected. | |
| subjects | No | Pack exports only — subject filter (e.g. ["S01", "S03"]) to bound zip size; default exports all installed subjects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||