import type { GarnetClient } from "@common/garnet";
import type { RoomContextService } from "@room/room-context-service";
import type { ZodType } from "zod";
import type { OnboardingSession } from "@skills/onboarding/types";
export interface ToolContext {
chatroomId?: string | undefined;
userId?: string | undefined;
session?: OnboardingSession | null | undefined;
garnetClient?: GarnetClient | undefined;
roomContextService?: RoomContextService | undefined;
}
export interface Tool {
name: string;
description: string;
argsSchema: ZodType;
resultSchema: ZodType;
execute(args: A, ctx: ToolContext): Promise;
}