Upload CAD or STL
open_surface_uploadFallback STL/STEP/3MF file picker only for a new file when the chat host cannot hand off its attachment. Prefer import_surface_attachment for a host-provided file reference, or create_upload when you can run commands on the machine with the file. If the geometry already has a verified ready artifact ID, use get_artifact then view_geometry/inspect_mesh_geometry; do not ask for another upload or CAD-uploader confirmation. Exact checksum matches can use prepare_surface_upload. Filename alone is not identity; clarify reuse when uncertain. API transfers/verifies bytes, with no terminal or S3 client. Retain artifact ID and continue requested stages once ready. Normally omit coordinate_units (auto). Supply engineering_context from the request and expected_length_mm only if known. Inspect measured STL bounds to infer units; ask only when scale remains ambiguous. STEP/3MF use embedded units normalized to mm. Use reconstruct_cad for 3MF. Upload does not start compute.
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": {
"filename": "<filename>"
},
"name": "open_surface_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | No | ||
| filename | Yes | ||
| project_id | No | ||
| request_id | No | ||
| size_bytes | No | ||
| coordinate_units | No | Normally auto. STEP/STP/3MF use embedded units normalized to mm. STL units are resolved from measured bounds and supplied engineering context; ambiguous scale requires one clarification. | auto |
| expected_length_mm | No | Optional known approximate longest overall dimension in millimetres. Supply only when known from the user or source evidence, not an invented guess. | |
| engineering_context | No | Brief supplied engineering context, e.g. a full-size passenger car or a GPU cold plate. Do not infer context from a filename alone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||