compare_print_options
Compare local 3D printing costs with outsourced manufacturing quotes to help agents recommend the lower-cost production option.
Instructions
Compare local printing cost vs. outsourced manufacturing.
Runs a local cost estimate and (if Craftcloud is configured) fetches
a fulfillment quote, then returns a side-by-side comparison to help
agents recommend the best option.
Args:
file_path: Path to the G-code file (for local) or model file
(STL/3MF for fulfillment). If a G-code file is provided,
only local estimate is returned.
material: Filament material for the local estimate (PLA, PETG, …).
Leave empty to use what the file was sliced for, PLA when it
names nothing. When Kiln's servers answer, the
local estimate also carries a ``cost_intelligence`` field; what
it holds depends on the tier.
fulfillment_material_id: Material ID from ``fulfillment_materials``
for the outsourced quote. If omitted, the fulfillment quote
is skipped.
quantity: Number of copies for fulfillment (default 1).
electricity_rate: Cost per kWh in USD (default 0.12).
printer_wattage: Printer power consumption in watts (default 200).
shipping_country: ISO country code for fulfillment shipping.
printer_id: Optional registered printer the local print is for;
passed on with the file when kiln-pro is asked.
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": {
"file_path": "<file_path>"
},
"name": "compare_print_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Filament material for the local estimate (PLA, PETG, …). Leave empty to use what the file was sliced for, PLA when it names nothing. When Kiln's servers answer, the local estimate also carries a ``cost_intelligence`` field; what it holds depends on the tier. Default: "". | |
| quantity | No | Number of copies for fulfillment (default 1). Default: 1. | |
| file_path | Yes | Path to the G-code file (for local) or model file (STL/3MF for fulfillment). If a G-code file is provided, only local estimate is returned. | |
| printer_id | No | Optional registered printer the local print is for; passed on with the file when kiln-pro is asked. Default: "". | |
| printer_wattage | No | Printer power consumption in watts (default 200). Default: 200.0. | |
| electricity_rate | No | Cost per kWh in USD (default 0.12). Default: 0.12. | |
| shipping_country | No | ISO country code for fulfillment shipping. Default: "US". | |
| fulfillment_material_id | No | Material ID from ``fulfillment_materials`` for the outsourced quote. If omitted, the fulfillment quote is skipped. |