andy-stack_vaultkeeper-ai/AIClasses/ToolDefinitions/IAIToolDefinition.ts
2026-02-15 23:07:39 +00:00

13 lines
No EOL
407 B
TypeScript

import type { AITool } from "Enums/AITool";
import type { JSONSchemaProperty } from "../Schemas/AIToolTypes";
// platform agnostic function definition used to present function calls in an API call
export interface IAIToolDefinition {
name: AITool;
description: string;
parameters: {
type: string;
properties: Record<string, JSONSchemaProperty>;
required?: string[];
};
}