Export bundle
godot_exportExport a game project using export presets. Mode release or debug creates a runnable bundle; mode pack creates a .pck/.zip data pack. Lists available presets when no preset is given.
Instructions
Export a project using a preset from export_presets.cfg. Mode "release"/"debug" produce a runnable bundle; "pack" produces a .pck/.zip data pack. With no preset, lists the available presets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Export mode. | debug |
| output | No | Output file path (absolute, res://, or project-relative). Defaults to the preset's export_path. | |
| preset | No | Export preset name (as in export_presets.cfg). Omit to list presets. | |
| version | No | Godot version to use, e.g. "4.7", "4.7-stable", "stable"/"latest". Defaults to the project's declared version, then the latest stable release. | |
| project_root | No | Path to the Godot project root (folder containing project.godot). Defaults to $GODOT_PROJECT_ROOT or an upward search from the working directory. | |
| response_format | No | Output format. "markdown" is human-readable; "json" is structured. | markdown |