Get Upload Link
get_upload_linkGet a link to the ARCNM upload page that works without signing in, for the person to open in a browser. Use it when the CAD file is on the person's computer and you cannot send its content, as in a chat app. They drop one STEP file per part, a PDF drawing optional; ARCNM files and prices each part in the folder and costing environment named here. Issuing is free; each different part uploaded is billable, one calculation if it succeeds (an assembly one per different part, counted once the file is read). The link works for 30 minutes and max_uploads parts; whoever has it can upload, so it is for that person only. Returns the url, upload_session_id, expiry and the calculations left. Afterwards list_calculations with upload_session_id finds exactly the calculations they started. If you can send the file content, use upload_and_quote instead.
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": "get_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Folder to file the uploaded parts into (optional). | |
| max_uploads | No | How many parts the person may upload through the link, 1 to 20 (default 1). Each part is one STEP file with an optional drawing. | |
| environment_id | No | Costing environment to price the uploaded parts in (optional; the organization's default when omitted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The arcnm upload page. The person opens it in a browser, without signing in, and drops one STEP (3D) file per part, a PDF drawing optional; arcnm files and prices each part in the folder and costing environment below. Whoever has the URL can upload into this organization until it expires, so it is for that person only. | |
| folder_id | No | The folder the parts are filed into; null for the root. | |
| issued_at | Yes | When this link was issued (RFC 3339, UTC). | |
| next_step | Yes | How to find the new calculations once the person says the upload is done. | |
| expires_at | Yes | When the link stops working (RFC 3339, UTC). | |
| max_uploads | Yes | How many parts the person may upload through the link. | |
| environment_id | No | The costing environment the parts are priced in. | |
| upload_session_id | Yes | The link's id. Every calculation an upload on the page creates carries it, and list_calculations with upload_session_id set to it lists exactly those calculations, and no one else's. | |
| calculations_remaining | No | Calculations left in this billing window. Each different part priced from the page uses one, and an assembly uses one per different part once the file is read. Null when the plan states no limit. |