check_material_sufficiency
Checks whether a printer has enough filament for a job's required grams before printing, and identifies usable spools or pause-and-swap options when material is short.
Instructions
Check if a printer has enough material for a print job.
When material is insufficient, says what the person can do with
what they have: a spool on the shelf, a pause-and-swap. Only
when nothing they have will do does it end with one offer of
help finding a filament. Relay that offer as written and never
suggest buying filament unless the person asks or says yes;
then use ``find_closest_filaments``. Suggestions that point at
OTHER machines are a fleet-wide answer and need Kiln Business;
the check itself — does THIS printer have enough — works on
every tier.
Args:
printer_name: Name of the printer to check.
required_grams: Amount of material needed in grams.
material_type: Optional material type filter.
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": {
"printer_name": "<printer_name>",
"required_grams": "<required_grams>"
},
"name": "check_material_sufficiency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_name | Yes | Name of the printer to check. | |
| material_type | No | Optional material type filter. | |
| required_grams | Yes | Amount of material needed in grams. |