Skip to main content
Glama

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
NameRequiredDescriptionDefault
nameYesThe element name to activate
typeYesThe element type

Implementation Reference

  • 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) },
  • Registers all element tools, including 'activate_element', via getElementTools during server setup.
    this.toolRegistry.registerMany(getElementTools(instance));
  • IToolHandler interface defining the activateElement method signature used by the tool handler.
    activateElement(name: string, type: string): Promise<any>; getActiveElements(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/mcp-server'

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