slice
Create a 3D slice visualization of a simulation field on a cut plane. Customize origin, normal, colormap, and camera for analysis or publication.
Instructions
Create a slice (cut plane) visualization.
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>",
"field_name": "<field_name>"
},
"name": "slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to simulation file | |
| field_name | Yes | Field to visualize on the slice | |
| origin | No | Slice plane origin [x, y, z] | |
| normal | No | Slice plane normal [nx, ny, nz] | |
| colormap | No | Color map preset | Cool to Warm |
| camera | No | Camera preset | isometric |
| purpose | No | Resolution preset — "analyze" (480p), "preview" (720p), "publish" (1080p) | analyze |
| width | No | Override width in pixels (must set both width and height, or neither) | |
| height | No | Override height in pixels (must set both width and height, or neither) | |
| timestep | No | Timestep selection |