export-run
Export a Godot project to a distributable game executable using a preset and output path. Build release or debug versions.
Instructions
[compact alias of export_project] Exports the project to a distributable format. Use to build final game executables. Requires export templates installed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"preset": "<preset>",
"outputPath": "<outputPath>"
},
"name": "export-run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. | |
| preset | Yes | Export preset name from export_presets.cfg (e.g., "Windows Desktop", "Linux/X11") | |
| outputPath | Yes | Destination path for exported file (e.g., "builds/game.exe", "builds/game.x86_64") | |
| debug | No | If true, exports debug build. Default: false (release) |