stop_project
End the active Godot runtime session, remove its bridge, and stop a spawned game or detach from an attached one without killing it; other sessions continue.
Instructions
End the current session now and remove the bridge, cutting off a runtime call in progress. A spawned Godot is stopped; an attached one is detached, not killed. Other sessions keep running; none becomes current. Also frees a spawned game that exited by itself (alreadyExited). Returns: projectPath, message, sessionMode, externalProcessPreserved, alreadyExited, exitCode, killUnconfirmed, finalOutput, finalErrors; warnings leads if the kill or cleanup was unconfirmed. Errors if nothing is running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stop_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Pid the unconfirmed kill was sent to. | |
| message | Yes | ||
| exitCode | No | ||
| warnings | No | ||
| finalErrors | Yes | Null in the same cases as finalOutput. | |
| finalOutput | Yes | Condensed to the diagnostic lines. Null when no logs are held: an attached session captures nothing, and a record that kept only a finished profiler capture gave its logs to the earlier stop. | |
| projectPath | Yes | ||
| sessionMode | Yes | ||
| alreadyExited | Yes | ||
| killUnconfirmed | No | Present and true when the kill was sent and the process did not report its exit in time: it may still be running. warnings names the pid. | |
| externalProcessPreserved | Yes |