stop_project
Stop the running Godot project and free the process slot so scene-editing tools unlock. Call it after runtime testing, even after a crash or if you closed the window yourself.
Instructions
Stop the spawned Godot project and clean up bridge state. Call when done with runtime testing, even after a crash, and even if you closed the Godot window yourself: it frees the process slot and clears the flag blocking scene-editing tools. A process that exited on its own already removed the bridge autoload at that moment, and this still succeeds - it reports alreadyExited:true with the exit code and the logs captured before the exit, and leaves a finished profiler capture readable. Attached sessions detach without killing the external process. Returns: message, mode, externalProcessPreserved, alreadyExited, exitCode (already-exited case), and condensed finalOutput/finalErrors (capped at 200); get_debug_output has the full log. Errors only when there is no session and no exited process to report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| message | No | ||
| exitCode | No | ||
| finalErrors | No | ||
| finalOutput | No | ||
| alreadyExited | No | ||
| externalProcessPreserved | No |