activate_element
Activate specific personas, skills, templates, agents, memories, or ensembles in the DollhouseMCP server by specifying the element name and type. Designed for dynamic AI persona management.
Instructions
Activate a specific element by name
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The element name to activate | |
| type | Yes | The element type |
Implementation Reference
- src/server/tools/ElementTools.ts:96-116 (registration)Tool registration and schema definition for 'activate_element'. Includes input schema validation and handler that delegates to server.activateElement(name, type).tool: { name: "activate_element", description: "Activate a specific element by name", inputSchema: { type: "object", properties: { name: { type: "string", description: "The element name to activate", }, type: { type: "string", description: "The element type", enum: Object.values(ElementType), }, }, required: ["name", "type"], }, }, handler: (args: ActivateElementArgs) => server.activateElement(args.name, args.type) },
- src/server/ServerSetup.ts:53-53 (registration)Registers all element tools, including 'activate_element', via getElementTools during server setup.this.toolRegistry.registerMany(getElementTools(instance));
- src/server/types.ts:19-20 (schema)IToolHandler interface defining the activateElement method signature used by the tool handler.activateElement(name: string, type: string): Promise<any>; getActiveElements(type: string): Promise<any>;