/** * Help Resource Definitions * * Dynamic help resources generated from live tool definitions. * - `memory://help` — Root help listing all tool groups * - `memory://help/{group}` — Per-group help with tool details * * Content is generated at runtime from getTools(), so it automatically * stays in sync when tools are added or modified. */ import type { InternalResourceDef } from './shared.js'; interface ParameterInfo { name: string; type: string; required: boolean; description?: string; } /** * Recursively peel ZodOptional / ZodDefault / ZodNullable wrappers from a * Zod `_def` object to discover the innermost concrete type, whether the * field is optional to callers, and the description (first `_def` that has * one, scanning outer → inner). Supports both Zod 3 and Zod 4 shape. */ export declare function peelZodType(def: Record): { typeName: string; isOptional: boolean; description: string | undefined; }; /** * Extract parameter info from a Zod schema's shape. * Works with z.object() schemas that have a `.shape` property. */ export declare function extractParameters(inputSchema: unknown): ParameterInfo[]; /** * Get help resource definitions */ export declare function getHelpResourceDefinitions(): InternalResourceDef[]; export {}; //# sourceMappingURL=help.d.ts.map