deactivate_element
Deactivate personas, skills, templates, agents, memories, or ensembles in the DollhouseMCP server to manage AI behavior configurations.
Instructions
Deactivate a specific element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The element name to deactivate | |
| type | Yes | The element type |
Implementation Reference
- src/server/ServerSetup.ts:52-54 (registration)Registration of element tools including deactivate_element via getElementTools call to ToolRegistry// Register element tools (new generic tools for all element types) this.toolRegistry.registerMany(getElementTools(instance));
- src/server/tools/ElementTools.ts:136-156 (handler)The tool definition, input schema, and handler for 'deactivate_element'. The handler delegates to server.deactivateElement(name, type).tool: { name: "deactivate_element", description: "Deactivate a specific element", inputSchema: { type: "object", properties: { name: { type: "string", description: "The element name to deactivate", }, type: { type: "string", description: "The element type", enum: Object.values(ElementType), }, }, required: ["name", "type"], }, }, handler: (args: DeactivateElementArgs) => server.deactivateElement(args.name, args.type) },
- TypeScript interface defining the arguments for deactivate_elementinterface DeactivateElementArgs { name: string; type: string; }
- src/server/types.ts:21-21 (schema)Interface definition for the server method called by the tool handlerdeactivateElement(name: string, type: string): Promise<any>;