This interface defines the structure of the request body used when updating an existing AI Tool.
export interface UpdateAiToolRequest {
    name?: string;
    description?: string;
    type?: 'api' | 'function' | 'webhook';
    config?: any;
    is_active?: boolean;
}

Properties

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