check_material_match
Compare the material Kiln has on record for a printer against what a print file expects, returning match, mismatch, or no record so you can catch the wrong spool before printing.
Instructions
Check whether the material Kiln has on record matches what a print expects.
Answers about Kiln's material RECORD, which normally holds what a person
or agent typed via ``set_material`` — not a sensor reading. Three
answers, and the third one matters: ``match: true`` (the record agrees),
``match: false`` (it disagrees — worth stopping for), and ``match: null``
(nothing is recorded for this printer, so this is neither a match nor a
mismatch and the spool needs an eye on it). ``sensed`` says whether a
machine reported the material; when it is false, the material is on
record, not confirmed, and the answer should say so.
Args:
expected_material: The material the print file requires.
printer_name: Target printer. Omit to resolve the active printer.
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": {
"expected_material": "<expected_material>"
},
"name": "check_material_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_name | No | Target printer. Omit to resolve the active printer. | |
| expected_material | Yes | The material the print file requires. |