estimate_cost
Calculate the true print cost of a sliced file, including filament, electricity, machine wear, and expected cost per successful part from historical failure rates.
Instructions
What will this sliced file cost to print? Filament (spool price when a spool is loaded in the matching slot, else the per-type price), electricity from the print time and the configured power draw, machine wear, and the expected cost per GOOD part given the historical failure rate.
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": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plate | No | ||
| quantity | No | ||
| file_path | Yes | ||
| printer_id | No | Use this printer's loaded spools for pricing |