stop_project
Halt the currently running Godot project.
Instructions
Stop the currently running Godot project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:982-992 (handler)The handler function that stops the currently running Godot project. It kills the active process via process.kill() and clears the activeProcess reference.
private async handleStopProject(): Promise<ToolResult> { if (!this.activeProcess) { return this.createErrorResponse('No active Godot process to stop.'); } this.logDebug('Stopping active Godot process'); this.activeProcess.process.kill(); this.activeProcess = null; return this.createSuccessResponse('Godot process stopped successfully.'); } - src/index.ts:503-511 (registration)Tool registration for 'stop_project' in the tools list with name, description, and empty inputSchema.
{ name: 'stop_project', description: 'Stop the currently running Godot project', inputSchema: { type: 'object', properties: {}, required: [], }, }, - src/index.ts:793-795 (registration)Case branch in the tool request handler that dispatches to handleStopProject() when the tool name is 'stop_project'.
case 'stop_project': result = await this.handleStopProject(); break;