This interface defines the structure of the request body used when creating a new AI Tool.
export interface CreateAiToolRequest {
    name: string;
    description?: string;
    type: 'api' | 'function' | 'webhook';
    config: any;
}

Properties

  • name (string): The name of the AI tool.
  • description (string, optional): A description of the AI tool.
  • type (string): The type of the AI tool (‘api’, ‘function’, or ‘webhook’).
  • config (any): The configuration details for the AI tool.