Read allowlisted DICOM metadata
dicom_get_metadataReads allowlisted technical attributes from one DICOM file using a root-relative path and requested keywords, returning PHI-safe metadata without patient identifiers or pixel data.
Instructions
Read allowlisted technical attributes of one DICOM file (path relative to the root).
Use dicom_list_allowed_tags to see which keywords are allowed. Requesting any other keyword fails. Patient identifiers and pixel data are never returned.
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": {
"path": "<path>"
},
"name": "dicom_get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| keywords | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||