preview_3d
Export datasets to glTF/glB format for interactive 3D viewing in a browser. Returns the file path and a viewer URL hint.
Instructions
Export dataset to glTF/glB for interactive 3D viewing in a browser.
Returns the exported file path and a viewer URL hint. Requires VTK >= 9.4 with vtkGLTFExporter support.
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": "preview_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| field_name | No | ||
| timestep | No | ||
| output_filename | No | preview.glb |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||