Skip to main content
Glama

get_autoloads

Retrieve all autoload singletons configured in a Godot project to manage global resources and persistent game objects.

Instructions

Get all autoload singletons configured in the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP tool handler for "get_autoloads" which fetches autoloads from the index.
    handler: async (_ctx) => {
      const autoloads = index.getAutoloads();
      return makeTextResponse({
        data: autoloads,
        metadata: { source: "index" },
      });
    },
  • The actual implementation logic that retrieves autoloads from the autoloadIndex.
    getAutoloads(): AutoloadRef[] {
      return this.autoloadIndex.all();
    }
  • The registration of the "get_autoloads" tool within the project tools collection.
    {
      name: "get_autoloads",
      description: "Get all autoload singletons configured in the project.",
      schema: {},

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/woohq/godette-mcp'

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