This interface defines the configuration details for an AI Tool.
import { AiToolConfigParametersInner } from './ai-tool-config-parameters-inner';

export interface AiToolConfig {
    endpoint?: string;
    method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
    headers?: any;
    parameters?: AiToolConfigParametersInner[];
}

Properties

  • endpoint (string, optional): The API endpoint for the tool.
  • method (string, optional): The HTTP method for the tool (‘GET’, ‘POST’, ‘PUT’, or ‘DELETE’).
  • headers (any, optional): Custom headers for the tool’s requests.
  • parameters (AiToolConfigParametersInner[], optional): A list of parameters for the tool.