Input Schema
{
"description": "Manufacturing cost of a CNC or sheet-metal part from its CAD file (STEP or DXF): process plan, times and an itemised cost per lot size, in the costing environments you choose. EUR 0.89 per made part per environment, VAT included; bought and catalogue parts are free. No account: pay per call in USDC (x402). A binding offer comes first; a failed calculation is never charged.",
"example": {
"environments": [
"DE-BY"
],
"file_base64": "MApTRUNUSU9OCjIKSEVBREVSCjkKJElOU1VOSVRTCjcwCjQKMApFTkRTRUMKMApTRUNUSU9OCjIKRU5USVRJRVMKMApMSU5FCjgKMAoxMAowCjIwCjAKMTEKMTIwCjIxCjAKMApMSU5FCjgKMAoxMAoxMjAKMjAKMAoxMQoxMjAKMjEKNjAKMApMSU5FCjgKMAoxMAoxMjAKMjAKNjAKMTEKMAoyMQo2MAowCkxJTkUKOAowCjEwCjAKMjAKNjAKMTEKMAoyMQowCjAKQ0lSQ0xFCjgKMAoxMAozMAoyMAozMAo0MAo1CjAKRU5EU0VDCjAKRU9GCg==",
"filename": "plate.dxf",
"material": "1.4301",
"sheet_gauge_mm": 2
},
"inputSchema": {
"$defs": {
"EnvironmentReference": {
"description": "An environment and the version to price it at.",
"properties": {
"id": {
"description": "The environment's id, e.g. DE-BY.",
"title": "Id",
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The version; only the current one is priced. Omit it for the current one.",
"title": "Version"
}
},
"required": [
"id"
],
"title": "EnvironmentReference",
"type": "object"
}
},
"description": "A CAD file sent as base64, with any of the optional parameters.",
"properties": {
"annual_volume": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Pieces a year.",
"title": "Annual Volume"
},
"costing_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Not used yet: an offer is priced as of the day it runs.",
"title": "Costing Date"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your country, ISO 3166-1 alpha-2.",
"title": "Country"
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 4217: each environment states its prices in it with its own rates. Default: each environment's own.",
"title": "Currency"
},
"drawing_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A drawing of the part: not read and not kept, the price is the geometry's (the offer's item says so in `drawing`).",
"title": "Drawing Base64"
},
"environments": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/EnvironmentReference"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Up to 16 environments to price in, in order (the first is the baseline): ids price_parts lists when called with no arguments, `id@version`, or `{id, version}`. Default: DE-BY.",
"title": "Environments"
},
"file_base64": {
"description": "The CAD file (STEP or DXF) as base64, or a data: URI; gzip-compressed is accepted.",
"title": "File Base64",
"type": "string"
},
"filename": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Its name, e.g. bracket.step.",
"title": "Filename"
},
"invoice_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Who the invoice names: name and address. The price is the same.",
"title": "Invoice To"
},
"items": {
"description": "Many files in one offer and one payment, each with its own file_base64, filename, material and sheet_gauge_mm.",
"items": {
"properties": {
"file_base64": {
"description": "The CAD file (STEP or DXF) as base64, or a data: URI; gzip-compressed is accepted.",
"title": "File Base64",
"type": "string"
},
"filename": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Its name, e.g. bracket.step.",
"title": "Filename"
},
"material": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The material.",
"title": "Material"
},
"sheet_gauge_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Sheet thickness in millimetres: with `material`, required for a DXF flat pattern.",
"title": "Sheet Gauge Mm"
}
},
"required": [
"file_base64"
],
"type": "object"
},
"type": "array"
},
"lot_size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Pieces per lot the run is priced at. Default: 1.",
"title": "Lot Size"
},
"lot_sizes": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "The lots the answer states, at most 12. Default: 1, 10, 100 and 1000.",
"title": "Lot Sizes"
},
"material": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The material.",
"title": "Material"
},
"offer_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "An earlier offer.",
"title": "Offer Id"
},
"sheet_gauge_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Sheet thickness in millimetres: with `material`, required for a DXF flat pattern.",
"title": "Sheet Gauge Mm"
},
"vat_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your EU VAT ID, for an invoice that names it. The price is the same; the VAT inside it follows where you are (a VAT ID is not verified yet).",
"title": "Vat Id"
}
},
"required": [],
"title": "PriceRequestJSON",
"type": "object"
},
"toolName": "price_parts",
"transport": "streamable-http",
"type": "mcp"
}