// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using OpenAI;

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class ConversationFunctionTool : ConversationTool
    {
        public ConversationFunctionTool(string name) : base(ConversationToolKind.Function)
        {
            Argument.AssertNotNull(name, nameof(name));

            _name = name;
        }

        internal ConversationFunctionTool(ConversationToolKind kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string description, BinaryData parameters) : base(kind, additionalBinaryDataProperties)
        {
            _name = name;
            _description = description;
            _parameters = parameters;
        }
    }
}
