add_safety_profile
Add a validated community safety profile for a printer model, enabling users to contribute custom safety limits for printers not in the built-in database.
Instructions
Add a community safety profile for a printer model.
Validates the profile and saves it to the user-local community
profiles file (``~/.kiln/community_profiles.json``). Community
profiles take precedence over bundled profiles, allowing users to
contribute limits for printers not in the built-in database.
Args:
printer_model: Short identifier for the printer (e.g.
``"my_custom_corexy"``).
profile: Dict containing at least ``max_hotend_temp``,
``max_bed_temp``, ``max_feedrate``, and ``build_volume``
(a list of 3 positive numbers ``[X, Y, Z]``). Optional
fields: ``display_name``, ``max_chamber_temp``, ``min_safe_z``,
``max_volumetric_flow``, ``notes``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| printer_model | Yes |