get_element_details
Retrieve detailed information about personas, skills, templates, agents, memories, or ensembles from the DollhouseMCP server to manage AI behavioral elements.
Instructions
Get detailed information about a specific element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The element name to get details for | |
| type | Yes | The element type |
Implementation Reference
- src/server/tools/ElementTools.ts:157-178 (handler)The MCP tool handler for 'get_element_details', including full tool definition, input schema validation, and execution logic that delegates to server.getElementDetails(name, type){ tool: { name: "get_element_details", description: "Get detailed information about a specific element", inputSchema: { type: "object", properties: { name: { type: "string", description: "The element name to get details for", }, type: { type: "string", description: "The element type", enum: Object.values(ElementType), }, }, required: ["name", "type"], }, }, handler: (args: GetElementDetailsArgs) => server.getElementDetails(args.name, args.type) },
- TypeScript interface defining the input arguments for the get_element_details tool handlerinterface GetElementDetailsArgs { name: string; type: string; }
- src/server/types.ts:22-22 (schema)Interface definition in IToolHandler for the core getElementDetails method called by the tool handlergetElementDetails(name: string, type: string): Promise<any>;
- src/server/ServerSetup.ts:52-54 (registration)Registers all element tools (including get_element_details) with the central ToolRegistry during server setup// Register element tools (new generic tools for all element types) this.toolRegistry.registerMany(getElementTools(instance));