/** * Consolidated Character Management Tool * * Replaces 8 individual tools with a single action-based tool: * - create_character -> action: 'create' * - get_character -> action: 'get' * - update_character -> action: 'update' * - list_characters -> action: 'list' * - delete_character -> action: 'delete' * - add_xp -> action: 'add_xp' * - get_level_progression -> action: 'get_progression' * - level_up -> action: 'level_up' */ import { z } from 'zod'; import { SessionContext } from '../types.js'; import { McpResponse } from '../../utils/action-router.js'; export declare const CharacterManageTool: { name: string; description: string; inputSchema: z.ZodObject<{ action: z.ZodString; name: z.ZodOptional; class: z.ZodOptional; race: z.ZodOptional; background: z.ZodOptional; alignment: z.ZodOptional; stats: z.ZodOptional; dex: z.ZodDefault; con: z.ZodDefault; int: z.ZodDefault; wis: z.ZodDefault; cha: z.ZodDefault; }, "strip", z.ZodTypeAny, { str: number; dex: number; con: number; int: number; wis: number; cha: number; }, { str?: number | undefined; dex?: number | undefined; con?: number | undefined; int?: number | undefined; wis?: number | undefined; cha?: number | undefined; }>>; hp: z.ZodOptional; maxHp: z.ZodOptional; ac: z.ZodOptional; level: z.ZodOptional; characterType: z.ZodOptional>; factionId: z.ZodOptional; behavior: z.ZodOptional; knownSpells: z.ZodOptional>; preparedSpells: z.ZodOptional>; resistances: z.ZodOptional>; vulnerabilities: z.ZodOptional>; immunities: z.ZodOptional>; provisionEquipment: z.ZodOptional; customEquipment: z.ZodOptional>; startingGold: z.ZodOptional; characterId: z.ZodOptional; conditions: z.ZodOptional; source: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; duration?: number | undefined; source?: string | undefined; }, { name: string; duration?: number | undefined; source?: string | undefined; }>, "many">>; addConditions: z.ZodOptional; source: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; duration?: number | undefined; source?: string | undefined; }, { name: string; duration?: number | undefined; source?: string | undefined; }>, "many">>; removeConditions: z.ZodOptional>; amount: z.ZodOptional; hpIncrease: z.ZodOptional; targetLevel: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: string; name?: string | undefined; characterId?: string | undefined; conditions?: { name: string; duration?: number | undefined; source?: string | undefined; }[] | undefined; race?: string | undefined; resistances?: string[] | undefined; vulnerabilities?: string[] | undefined; immunities?: string[] | undefined; hp?: number | undefined; maxHp?: number | undefined; ac?: number | undefined; level?: number | undefined; stats?: { str: number; dex: number; con: number; int: number; wis: number; cha: number; } | undefined; behavior?: string | undefined; characterType?: "npc" | "pc" | "enemy" | "neutral" | undefined; knownSpells?: string[] | undefined; preparedSpells?: string[] | undefined; factionId?: string | undefined; class?: string | undefined; background?: string | undefined; alignment?: string | undefined; provisionEquipment?: boolean | undefined; customEquipment?: string[] | undefined; startingGold?: number | undefined; addConditions?: { name: string; duration?: number | undefined; source?: string | undefined; }[] | undefined; removeConditions?: string[] | undefined; amount?: number | undefined; hpIncrease?: number | undefined; targetLevel?: number | undefined; }, { action: string; name?: string | undefined; characterId?: string | undefined; conditions?: { name: string; duration?: number | undefined; source?: string | undefined; }[] | undefined; race?: string | undefined; resistances?: string[] | undefined; vulnerabilities?: string[] | undefined; immunities?: string[] | undefined; hp?: number | undefined; maxHp?: number | undefined; ac?: number | undefined; level?: number | undefined; stats?: { str?: number | undefined; dex?: number | undefined; con?: number | undefined; int?: number | undefined; wis?: number | undefined; cha?: number | undefined; } | undefined; behavior?: string | undefined; characterType?: "npc" | "pc" | "enemy" | "neutral" | undefined; knownSpells?: string[] | undefined; preparedSpells?: string[] | undefined; factionId?: string | undefined; class?: string | undefined; background?: string | undefined; alignment?: string | undefined; provisionEquipment?: boolean | undefined; customEquipment?: string[] | undefined; startingGold?: number | undefined; addConditions?: { name: string; duration?: number | undefined; source?: string | undefined; }[] | undefined; removeConditions?: string[] | undefined; amount?: number | undefined; hpIncrease?: number | undefined; targetLevel?: number | undefined; }>; }; export declare function handleCharacterManage(args: unknown, _ctx: SessionContext): Promise; //# sourceMappingURL=character-manage.d.ts.map