Skip to main content
Glama

deactivate_element

Deactivate a specific element (personas, skills, templates, agents, memories, or ensembles) within the DollhouseMCP server to manage AI persona behaviors and configurations efficiently.

Instructions

Deactivate a specific element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe element name to deactivate
typeYesThe element type

Implementation Reference

  • Tool registration including name, description, input schema, and handler function that delegates to server.deactivateElement
    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 input arguments for the deactivate_element tool
    interface DeactivateElementArgs { name: string; type: string; }
  • Interface definition for the underlying server.deactivateElement method in IToolHandler
    deactivateElement(name: string, type: string): Promise<any>;
  • Registers all element tools (including deactivate_element) via getElementTools call to the ToolRegistry
    // Register element tools (new generic tools for all element types) this.toolRegistry.registerMany(getElementTools(instance));

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

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