upload_design_file
Turn local manufacturing file bytes into the temporary HTTPS reference used by specification.design_files. This is a bounded intake operation, not a request, provider call, quote, order, payment, or fabrication action. Common RFC 4648 transport forms are normalized, then decoded bytes are recognized by signature, checked against the declared format, screened before storage, retained for one hour, and never included in telemetry. Supported roles include geometry (STL/STEP) and drawings (DXF/PDF). The 2 MiB MCP ceiling is transport-specific; use POST /api/upload with purpose=manufacturing_design_file for files up to 8 MiB. Pass the returned file_reference object unchanged in specification.design_files on the next call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Declared manufacturing format. File bytes must match. | |
| purpose | Yes | Must be manufacturing_design_file; general chat attachments use a separate intake. | |
| filename | Yes | Original filename, used only for bounded inspection and the temporary record. | |
| content_base64 | Yes | File bytes as RFC 4648 base64 or base64url; padding is optional, ASCII whitespace and a bounded data:*;base64, prefix are accepted. Do not pass a path or URL. Decoded maximum: 2097152 bytes. |