17 lines
516 B
C#
17 lines
516 B
C#
using System;
|
|
using System.Threading;
|
|
using Newtonsoft.Json.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace xAiModels.Models
|
|
{
|
|
public class XAiMcpToolDescriptor
|
|
{
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
public JObject InputSchema { get; set; }
|
|
public string RequiredPolicy { get; set; }
|
|
public bool RequiresAuthentication { get; set; } = false;
|
|
public Func<JObject, CancellationToken, Task<string>> Execute { get; set; }
|
|
}
|
|
} |