Price a DXF or SVG
quote_laser_filePrices one cut file in one material at one quantity, with the same engine the website charges from. Answers with the price, the same job at other quantities (price_breaks), the lead time, the part sizes we read, and any issues with the file. Send compare_materials to price it in other materials in the same call, and ship_zip to add shipping and the total before tax. A file that can't be priced instantly still answers 200, with priceable false and the reasons. Nothing is stored against a person and nothing is charged. Also available as GET with the same fields as query parameters (file_url or file_id only).
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": {
"material": "<material>",
"qty": "<qty>"
},
"name": "quote_laser_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | How many. For a file holding several parts, how many sets of the whole file. | |
| file | No | ChatGPT only: a file the person attached to the chat. Other clients use file_url, file_text or file_base64. | |
| scale | No | Resize the part: 1 is the file's own size, 0.5 is half. | |
| units | No | The units a DXF is drawn in when the file doesn't say. Leave out to let us read the file; the answer says what was assumed. | |
| file_id | No | A file sent in an earlier call (every quote answers with one). Kept 30 days. | |
| file_url | No | A public https link to the DXF or SVG, up to 10 MB. We download it. | |
| material | Yes | A material slug from the catalog, e.g. birch-125 | |
| ship_zip | No | The 5-digit US ZIP it would ship to. Given, the answer adds what shipping costs and the total before sales tax, so the person sees the whole price before an order is made. | |
| file_name | No | The file's name with its extension, e.g. bracket.dxf. Needed with file_text and file_base64. | |
| file_text | No | The file's own text (DXF and SVG are both plain text), up to 4 MB. Send with file_name. | |
| file_base64 | No | The file's bytes, base64, up to 4 MB. Send with file_name. | |
| compare_materials | No | Other material slugs to price the same file in, as a list or comma-separated, or "all" for every material. The answer lists each in other_materials. |