feat: 新增tools接口

This commit is contained in:
ccnetcore
2025-12-22 00:17:10 +08:00
parent fcb74eb28c
commit 8f515f76c0
5 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel;
using ModelContextProtocol.Server;
using Volo.Abp.DependencyInjection;
namespace Yi.Framework.AiHub.Domain.Mcp;
[McpServerToolType]
public class DeepThinkTool:ISingletonDependency
{
[McpServerTool, Description("进行深度思考")]
public void DeepThink()
{
}
}