send_gcode
Send G-code commands to a printer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gcode | No | Array of G-code commands to send. Either gcode, macro, or snippet_id is required. | |
| macro | No | Predefined macro name to execute. Either gcode, macro, or snippet_id is required. | |
| printer_id | Yes | The printer IDs (comma-separated for multiple) | |
| snippet_id | No | ID of a gcode snippet to send. Either gcode, macro, or snippet_id is required. | |
| macro_context | No | Optional context data for macro execution. |