render-instance-frame
Render a specific frame from a DICOM instance as a base64-encoded image using study, series, and SOP instance UIDs.
Instructions
Renders a specific frame from a DICOM instance to an image format. Requires Study, Series, and SOP Instance UIDs from find-instances, and a frame number. Returns the rendered image as a base64-encoded string.
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": {
"studyInstanceUid": "<studyInstanceUid>",
"seriesInstanceUid": "<seriesInstanceUid>",
"sopInstanceUid": "<sopInstanceUid>"
},
"name": "render-instance-frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | 1-based index of the frame to render (e.g., 1 for the first frame) | |
| outputFormat | No | Desired MIME type for the rendered output (e.g., image/jpeg) | image/jpeg |
| sopInstanceUid | Yes | DICOM SOP Instance UID (e.g., 1.2.840.113619.2.55.3.604688123.123.1591781234.469). Obtain from find-instances. | |
| studyInstanceUid | Yes | DICOM Study Instance UID (e.g., 1.2.840.113619.2.55.3). Obtain from find-studies. | |
| seriesInstanceUid | Yes | DICOM Series Instance UID (e.g., 1.2.840.113619.2.55.3.604688123). Obtain from find-series. |