Read NIfTI header information
nifti_infoExtracts structural header details—shape, voxel size, data type, units, and orientation—from a NIfTI file without reading image data or free-text fields.
Instructions
Return shape, voxel size, data type, units and orientation of a NIfTI file.
Only structural header fields are returned. Free-text header fields and the image data are never read into the output.
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": "nifti_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||