znk_import
Imports STEP, IGES, DXF, DWG, STL, OBJ, or ZNK files by content probing and returns body measurements plus a replayable import recipe; enable mass properties when needed.
Instructions
Import STEP / IGES / DXF / DWG / STL / OBJ / ZNK through znk2_cli (content-probed; extension is not trusted) and return body measurements plus a replayable recipe {kind:"import",file}. Use path or inline text (STEP text is written to a server-side temporary file kept for 7 days); format is an optional hint. Default import path is fast (volume/area/centroid are null); set with_mass=true to measure mass properties. Import does not modify the source file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "znk_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | absolute or server-relative file path to import | |
| text | No | inline file text (for example STEP), instead of path | |
| format | No | optional extension hint for inline text (content probe wins) | |
| with_mass | No | measure volume/area/centroid (slower; default false) |