validate_gcode_safe
Check G-code against printer-specific safety limits like PTFE temperature caps and speed limits to prevent damage. Uses the target printer's profile for accurate validation, or falls back to generic safe defaults.
Instructions
Validate G-code with printer-specific safety limits (PTFE temp caps, speed limits).
Preferred over ``validate_gcode`` when you know the target printer — uses
that printer's safety profile for accurate limits. Without a printer_id,
falls back to conservative generic defaults.
Args:
commands: G-code commands separated by newlines.
printer_id: Optional printer model ID for profile-aware validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | ||
| printer_id | No |