Start uploading a new MRI study
remene_create_studyOpens a new MRI study in the patient’s account for upload. Call it only when you can read the patient’s DICOM files and make HTTP PUT requests yourself (for example from a terminal); otherwise give the patient links.upload from remene_get_account, which opens the upload page in their browser. Upload DICOM files only (the bytes "DICM" at offset 128): unzip archives first and leave every other file out. Then call remene_presign_study_upload for the upload URLs, PUT each file with the headers it returns, and call remene_complete_study_upload. maxFilesPerCall is the most files one remene_presign_study_upload call takes; a call may sign fewer than asked and lists the rest in unsigned, to ask for again in the next call. consent_required means the patient must first accept the terms in the browser at the returned url, which brings them back to the upload page. feature_unavailable means uploading is not available right now; invalid_input means fileCount or totalBytes is beyond what one study may hold; rate_limited means the patient has opened as many studies as an hour allows (retryAfterSeconds).
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": {
"fileCount": "<fileCount>",
"totalBytes": "<totalBytes>"
},
"name": "remene_create_study"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileCount | Yes | How many DICOM files will be uploaded | |
| totalBytes | Yes | Their total size in bytes |