Skip to main content
Glama

reload_elements

Reload specific elements (personas, skills, templates, etc.) from the filesystem to update configurations in the DollhouseMCP server for dynamic AI persona management.

Instructions

Reload elements of a specific type from the filesystem

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe element type to reload

Implementation Reference

  • Primary implementation of the 'reload_elements' MCP tool, including handler logic that delegates to the server's reloadElements method, input schema validation, and tool metadata.
    { tool: { name: "reload_elements", description: "Reload elements of a specific type from the filesystem", inputSchema: { type: "object", properties: { type: { type: "string", description: "The element type to reload", enum: Object.values(ElementType), }, }, required: ["type"], }, }, handler: (args: ReloadElementsArgs) => server.reloadElements(args.type) },
  • TypeScript interface defining the input arguments for the reload_elements tool.
    interface ReloadElementsArgs { type: string; }
  • Registers the element tools (including reload_elements) with the MCP tool registry during server setup.
    // Register element tools (new generic tools for all element types) this.toolRegistry.registerMany(getElementTools(instance));
  • Interface definition for the underlying server.reloadElements method called by the tool handler.
    reloadElements(type: string): Promise<any>;

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/DollhouseMCP/mcp-server'

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