get_active_persona
Retrieve details about the currently active AI persona within the DollhouseMCP server, enabling dynamic persona management for Claude and compatible AI assistants.
Instructions
Get information about the currently active persona
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/types/mcp.ts:17-17 (schema)Zod schema definition for the get_active_persona tool input (no arguments required)export const GetActivePersonaArgsSchema = z.object({});
- Core implementation of retrieving the currently active persona from the internal Map storage, returns Persona object or nullgetActivePersona(): Persona | null { if (!this.activePersona) return null; return this.personas.get(this.activePersona) || null; }
- src/server/types.ts:9-9 (helper)Interface definition for the tool handler method in IToolHandler (likely wraps the PersonaManager method)getActivePersona(): Promise<any>;