Skip to main content
Glama

reload_elements

Reload specific element types from the filesystem to update personas, skills, templates, agents, memories, or ensembles in the DollhouseMCP server.

Instructions

Reload elements of a specific type from the filesystem

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe element type to reload

Implementation Reference

  • Registration of the 'reload_elements' tool including name, description, input schema, and handler function that delegates to server.reloadElements(args.type). This is the primary tool definition and execution handler.
    { 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; }
  • Interface definition for the server 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