check_material_environment
Check if a material suits an environment and meets printing rules like food-safe, RoHS, or UV. Get warnings plus pass or fail verdicts before printing.
Instructions
Check whether a material is compatible with an environment, and optionally whether it meets the rules the part must meet.
Args:
material: Material ID from the design knowledge base.
environment: Natural language environment description.
requirements: Optional rules to check the material against
before printing: any of ``food_safe``, ``reach``,
``rohs``, ``flame_retardant``, ``uv``. The answer comes
back under ``rule_checks``: the material's warnings
always, and a meets / does-not-meet verdict with its
reason where the plan includes it; when the check cannot
be made, ``rule_checks.checked`` is false and no
requirement is called met.
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": {
"material": "<material>",
"environment": "<environment>"
},
"name": "check_material_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | Material ID from the design knowledge base. | |
| environment | Yes | Natural language environment description. | |
| requirements | No | Optional rules to check the material against before printing: any of ``food_safe``, ``reach``, ``rohs``, ``flame_retardant``, ``uv``. The answer comes back under ``rule_checks``: the material's warnings always, and a meets / does-not-meet verdict with its reason where the plan includes it; when the check cannot be made, ``rule_checks.checked`` is false and no requirement is called met. |