src / types.ts
import { ZodSchema } from "zod"
type Props = Record<string, unknown>
export type Tool = {
name: string,
params?: Record<string, ZodSchema>,
description?: string;
keys?: string[],
cmd?: (p: Props) => string
impl?: (p: Props) => unknown
}