Skip to content

Commit a3cb654

Browse files
author
Jicheng Lu
committed
fix json name
1 parent 530e01c commit a3cb654

File tree

1 file changed

+7
-0
lines changed
  • src/Infrastructure/BotSharp.Abstraction/Agents/Models

1 file changed

+7
-0
lines changed

src/Infrastructure/BotSharp.Abstraction/Agents/Models/MCPTool.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@ namespace BotSharp.Abstraction.Agents.Models;
22

33
public class McpTool
44
{
5+
[JsonPropertyName("name")]
56
public string Name { get; set; }
7+
8+
[JsonPropertyName("server_id")]
69
public string ServerId { get; set; }
10+
11+
[JsonPropertyName("disabled")]
712
public bool Disabled { get; set; }
13+
14+
[JsonPropertyName("functions")]
815
public IEnumerable<McpFunction> Functions { get; set; } = [];
916

1017
public McpTool()

0 commit comments

Comments
 (0)