Skip to main content
Glama

get_debug_output

Retrieve real-time debug output and error messages from the Godot game engine to monitor project execution and troubleshoot issues.

Instructions

Get the current debug output and errors

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Defines the tool schema with empty input parameters and description in the ListTools response.
    name: 'get_debug_output', description: 'Get the current debug output and errors', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • src/index.ts:938-939 (registration)
    Registers the tool handler in the CallToolRequestSchema switch statement, dispatching to the implementation method.
    case 'get_debug_output': return await this.handleGetDebugOutput();
  • The core handler function that checks for an active Godot process and returns its accumulated stdout (output) and stderr (errors) as JSON, or an error if no process is running.
    private async handleGetDebugOutput() { if (!this.activeProcess) { return this.createErrorResponse( 'No active Godot process.', [ 'Use run_project to start a Godot project first', 'Check if the Godot process crashed unexpectedly', ] ); } return { content: [ { type: 'text', text: JSON.stringify( { output: this.activeProcess.output, errors: this.activeProcess.errors, }, null, 2 ), }, ], }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zycroft/godot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server