Add MCP Server Domain and Persistence Contracts
- افزودن XAiMcpServer و XAiMcpServerDto. - افزودن قراردادها و providerهای repository، in-memory/EF/Mongo، key generator، seeder، enricher و service provider. - افزودن Entity Framework configuration، mapper و GraphQL type/query/schema. - افزودن XAiMcpServerUsageScope و XAiMcpToolDescriptor.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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 Func<JObject, CancellationToken, Task<string>> Execute { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user