using System;
namespace xAiModels.Attributes
{
///
/// Describe Specific Tools Parameter Metadata ...
///
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
public sealed class XAiMcpToolParamAttribute : Attribute
{
///
/// Parameter Name in JSON (Default Parameter Name) ...
///
///
public string Name { get; }
///
/// Describe Parameter to LLM ...
///
///
public string Description { get; set; }
///
/// Specified this Parameter is Required or not (Default is true) ...
///
///
public bool Required { get; set; } = true;
public XAiMcpToolParamAttribute(string name = null)
{
Name = name;
}
}
}