Price a part
get_priceThe price of printing an uploaded STL with these choices, delivery included, in pence. The site measures the file itself the first time. If the turnaround asked for is not open, the price is for the next one and downgraded is true. Show the person the total before place_order.
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": {
"quote_id": "<quote_id>",
"material": "<material>",
"quantity": "<quantity>",
"turnaround": "<turnaround>",
"finish": "<finish>",
"delivery_service": "<delivery_service>"
},
"name": "get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| finish | Yes | as_printed, cleaned or finished. | |
| colours | No | Colour ids from get_options for this material. The first is free; each extra colour adds the price get_options shows. Leave out for no preference (one colour). | |
| material | Yes | ||
| postcode | No | UK postcode for delivery; the account's own if left out. | |
| quantity | Yes | ||
| quote_id | Yes | From create_upload or list_quotes. | |
| turnaround | Yes | today, tomorrow or standard (2-3 working days). get_options says which are open now. | |
| delivery_service | Yes |