using System; namespace xAiModels.Attributes { /// /// Decorate and Describe Specified MCP Tool to LLM ... /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class XAiMcpToolAttribute : Attribute { /// /// Tools Unique Name (Default: Method Name) ... /// /// public string Name { get; } /// /// Tools Description for LLM ... /// /// public string Description { get; set; } /// /// Specify it's Required to Authenticated or not ... /// /// public bool RequiresAuthentication { get; set; } = false; /// /// Authorization and Policiy ... /// /// public string RequiredPolicy { get; set; } = string.Empty; public XAiMcpToolAttribute(string name = null) { Name = name; } } }