estimate_print_cost
Estimate material and optional energy costs from a sliced 3MF using user-supplied prices; copy counts multiply the whole project and missing consumption remains unknown.
Instructions
Estimate material and optional energy costs from a sliced 3MF. Prices are supplied by the user; missing consumption remains unknown. Copies multiply the whole project, not an inferred part count.
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": {
"path": "<path>"
},
"name": "estimate_print_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a sliced 3MF containing consumption estimates. | |
| copies | No | Number of copies of the entire project. | |
| power_w | No | Assumed average printer power in watts; requires the electricity rate. | |
| currency | No | Three-letter currency code for all supplied prices. | BRL |
| filament_prices | No | Per-slot prices; missing slots use the default price if supplied. | |
| parts_per_project | No | Declared number of parts in one project; enables allocated per-part costs. | |
| material_price_per_kg | No | Default filament price per kilogram in the chosen currency. | |
| electricity_price_per_kwh | No | Electricity price per kWh; requires average power in watts. |