Precheck Part
precheck_partSee what a CAD file's calculation will do before it starts: free, never billable. Send the STEP file as base64 (gzip accepted) and optional drawings. ARCNM reads it the way the calculation will and answers how an assembly splits into made parts, catalogue parts and parts left out, how many calculations it starts, how many the plan pays for (metered_max) and the overage it may cost. Usually answers within seconds; while status is received, read it again with get_precheck. A drawing its names did not match goes to its part with attach_drawing (precheck_id and the row's component_key). Start it with upload_and_quote, passing precheck_id and its revision: the calculation is what was shown, and max_overage_cents caps what it may cost past the plan. A precheck nobody starts is deleted with its files after 24 hours.
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": {
"cad_file_b64": "<cad_file_b64>",
"cad_filename": "<cad_filename>"
},
"name": "precheck_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | No | Groups the files of one drop; they are answered in position order. | |
| drawings | No | Drawings of the assembly or its parts. | |
| position | No | Order of this file in its drop. | |
| cad_sha256 | No | SHA-256 of the file itself (before base64 and any gzip), hex. When sent, the file is refused with 422 checksum_mismatch unless it arrived with exactly this digest — nothing is stored or calculated then. | |
| part_number | No | The part number it will be started under. | |
| cad_file_b64 | Yes | Base64 (or a data: URI) of the STEP file; gzip-compressed is accepted. | |
| cad_filename | Yes | e.g. frame.step — used for format detection. | |
| cad_content_type | No | MIME type of the file, when known. |