Upload a local CAD or STL file
create_uploadUpload a STL/STEP/STP/3MF file from a machine where you can run commands (coding agents, CI, headless agents) without a picker and without the file passing through the model. Run the returned transfer.command there, replacing the quoted path argument with a shell-quoted absolute path; HTTP errors exit nonzero, and success prints the verified ready artifact. The token covers one file for 15 minutes: never share it or use it for another file. Retry the same transfer while valid; call again after expiry. Give size_bytes with sha256 only if already known, to enforce them or reuse an identical verified upload. Reuse a known ready artifact first; for a host attachment use import_surface_attachment; without command access use open_surface_upload. 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. 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": "create_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 | |||