send_gcode
Send raw G-code commands to a single printer or all printers, with dangerous commands automatically blocked for safety.
Instructions
Send a raw G-code command to a printer (or all printers). Some dangerous commands are blocked for safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | G-code command to send (e.g. 'G28' for home, 'M106 S255' for fan). Blocked: M112, M502, M500, M501, M997, M999. | |
| printer | No | Printer ID, 'all', or omit for single printer |