Skip to main content
Glama

deactivate_element

Deactivate personas, skills, templates, agents, memories, or ensembles in the DollhouseMCP server to manage AI behavioral elements.

Instructions

Deactivate a specific element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe element name to deactivate
typeYesThe element type

Implementation Reference

  • The handler function that executes the deactivate_element tool by delegating to the server's deactivateElement method.
    handler: (args: DeactivateElementArgs) => server.deactivateElement(args.name, args.type)
  • Registration of the deactivate_element tool with description and input schema.
    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"], }, },
  • TypeScript interface defining the input arguments for the deactivate_element tool.
    interface DeactivateElementArgs { name: string; type: string; }
  • Global registration of all element tools, including deactivate_element, to the MCP tool registry.
    this.toolRegistry.registerMany(getElementTools(instance));
  • Interface definition for the server's deactivateElement method called by the tool handler.
    deactivateElement(name: string, 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/DollhouseMCP'

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