start_print
Starts a stored G-code print by downloading and inspecting the exact file, checking printer state, and requiring human confirmation; unsupported APIs refuse and need upload with print=true instead.
Instructions
Start printing a G-code file already stored on the printer. The server downloads and inspects the exact file, then starts a uniquely named checked copy after printer-state checks and human confirmation. Printers whose API cannot download files (Repetier, Prusa, Creality) refuse; use upload_gcode with print=true instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the printer (default: value from env) | |
| port | No | Port of the printer API (default: value from env) | |
| type | No | Type of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env) | |
| api_key | No | API key for authentication (default: value from env) | |
| filename | Yes | Name/path of the printer-side G-code file to start. | |
| material | No | Declared filament material when the G-code has no slicer filament_type metadata (non-Bambu printers). Must not contradict the file. | |
| bambu_model | No | Required for Bambu print operations unless BAMBU_MODEL is configured. Must match the printer and pre-sliced G-code. | |
| bambu_token | No | Access token for Bambu Lab printers (default: value from env) | |
| bambu_serial | No | Serial number for Bambu Lab printers (default: value from env) |