Mark samples as AOT compatible (#184)
* Revert changes to remove APIs * Apply suggestions from code review Co-authored-by: Stephen Toub <stoub@microsoft.com> --------- Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
parent
c452dc8e26
commit
f652b1a03d
1 changed files with 51 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ using System.ComponentModel;
|
|||
namespace TestServerWithHosting.Tools;
|
||||
|
||||
[McpServerToolType]
|
||||
public static class EchoTool
|
||||
public sealed class EchoTool
|
||||
{
|
||||
[McpServerTool, Description("Echoes the input back to the client.")]
|
||||
public static string Echo(string message)
|
||||
|
|
|
|||
Loading…
Reference in a new issue