@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 413 B
TypeScript
import type { AnyAgentTool } from "./pi-tools.types.js";
export declare function normalizeToolParameters(tool: AnyAgentTool, options?: {
modelProvider?: string;
}): AnyAgentTool;
/**
* @deprecated Use normalizeToolParameters with modelProvider instead.
* This function should only be used for Gemini providers.
*/
export declare function cleanToolSchemaForGemini(schema: Record<string, unknown>): unknown;