open_file
Loads a local file or supplied content into LightBurn as the current project, replacing unsaved work after prompting to save.
Instructions
Requires capability "upload" (plus "state" for confirmation). REPLACES the current project with the file, like File > Open; LightBurn prompts the user to save unsaved changes first. Send a local file via path, or content / content_base64 with a filename. LightBurn confirms success reliably only for native projects (.lbrn, .lbrn2, .mage); for other formats this tool reads the project afterwards and reports it as opened_unconfirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path of a local file to send. | |
| content | No | Text content to send instead of a file, e.g. SVG markup. | |
| filename | No | Filename with extension; selects the importer (.svg, .dxf, .lbrn2, .png, ...). Required with content/content_base64; defaults to the basename of path. | |
| wait_seconds | No | How long to wait for LightBurn's import confirmation (default 30). | |
| content_base64 | No | Binary content as base64 (images, DXF binaries). |