Tool
import type { Ctx, Result } from "#codebase/tcmts/cli/mcp"; export interface Tool { name: string; description: string; inputSchema: Record<string, unknown>; /** the tcm command to run, from the arguments */ argv?: (a: Record<string, unknown>) => string[]; run?: (a: Record<string, unknown>, ctx: Ctx) => Promise<Result>; }