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
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The element type to reload |
Implementation Reference
- src/server/tools/ElementTools.ts:179-196 (registration)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; }
- src/server/types.ts:23-23 (schema)Interface definition for the server method called by the tool handler.reloadElements(type: string): Promise<any>;