extract_exr_part
Extract a single part from a multi-part EXR by name or index and save it as a new single-part EXR file in a non-destructive output directory.
Instructions
Extract a single part from a multi-part EXR and save it as a new single-part EXR file.
Specify the target part by name (e.g. 'C', 'AO') or by index. Name takes precedence.
Output is written to <source_dir>/<part_name>/<source_filename>.
The output directory must not already exist (non-destructive).
Only essential header attributes are carried over; renderer-specific metadata
(render times, camera matrices, etc.) is omitted since the source file retains
the full record.
For tiled images, the result reports whether lower-resolution tile levels were discarded.
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": {
"file_path": "<file_path>"
},
"name": "extract_exr_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the source EXR file | |
| part_name | No | Name of the part to extract (e.g. 'C', 'AO'). Takes precedence over part_index. | |
| part_index | No | Index of the part to extract (0-based). Used when part_name is not specified. |